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": {
"prebuild": "rimraf 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:oss": "node ./scripts/build.js",
"check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020",

View File

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