Fix backend-core build

This commit is contained in:
Adria Navarro 2024-12-05 16:04:23 +01:00
parent 9bf7098c7d
commit 79b5238d9f
2 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,7 @@
"scripts": { "scripts": {
"prebuild": "rimraf dist/", "prebuild": "rimraf dist/",
"prepack": "cp package.json dist", "prepack": "cp package.json dist",
"build": "tsc -p tsconfig.build.json --paths null && node ./scripts/build.js", "build": "node ./scripts/build.js && tsc -p tsconfig.build.json --emitDeclarationOnly --paths null",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"build:oss": "node ./scripts/build.js", "build:oss": "node ./scripts/build.js",
"check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020", "check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020",

View File

@ -1,6 +1,8 @@
{ {
"extends": "../../tsconfig.build.json", "extends": "../../tsconfig.build.json",
"include": ["**/*.js", "**/*.ts"], "compilerOptions": {
"outDir": "dist"
},
"exclude": [ "exclude": [
"node_modules", "node_modules",
"dist", "dist",