chore(build): separate tsconfig for public

This commit is contained in:
Elian Doran 2024-12-14 09:56:04 +02:00
parent 483b543272
commit 9e661ed684
No known key found for this signature in database
2 changed files with 51 additions and 21 deletions

27
src/public/tsconfig.json Normal file
View File

@ -0,0 +1,27 @@
{
"compilerOptions": {
"module": "NodeNext",
"declaration": false,
"sourceMap": true,
"outDir": "./build",
"strict": true,
"noImplicitAny": true,
"resolveJsonModule": true,
"lib": [
"ES2022"
],
"downlevelIteration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowJs": true
},
"include": [
"**/*",
],
"exclude": [
"./app-dist",
],
"files": [
"./app/types.d.ts"
]
}

View File

@ -7,11 +7,12 @@
"strict": true,
"noImplicitAny": true,
"resolveJsonModule": true,
"lib": ["ES2022"],
"lib": [
"ES2022"
],
"downlevelIteration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowJs": true
},
"include": [
"./src/**/*.js",
@ -20,9 +21,11 @@
"./spec/**/*.ts",
"./spec-es6/**/*.ts"
],
"exclude": ["./node_modules/**/*"],
"exclude": [
"./src/public/**/*",
"./node_modules/**/*"
],
"files": [
"src/types.d.ts",
"src/public/app/types.d.ts"
"src/types.d.ts"
]
}