mirror of https://github.com/TriliumNext/Notes
build: add separate tsconfig.build.json
this prevents tsc from unnecessarily transpiling the frontend part as well: previously it was transpiled by tsc, but the files got discarded and replaced by the files built by webpack. speeds up tsc command a bit as well: from 14 seconds to ~8 secspull/1225/head
parent
a6e7f98f69
commit
cefc402263
@ -0,0 +1,27 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "NodeNext",
|
||||
"declaration": false,
|
||||
"sourceMap": true,
|
||||
"outDir": "./build",
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"resolveJsonModule": true,
|
||||
"allowJs": true,
|
||||
"lib": ["ES2023"],
|
||||
"downlevelIteration": true,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": true,
|
||||
"verbatimModuleSyntax": true
|
||||
},
|
||||
"include": ["./src/**/*.[jt]s", "./*.ts"],
|
||||
"exclude": [
|
||||
"./node_modules/**/*",
|
||||
"./spec-es6/**/*.ts",
|
||||
"./spec/**/*",
|
||||
"./**/*.spec.ts",
|
||||
"./src/public/**/*",
|
||||
"./*.config.[jt]s",
|
||||
],
|
||||
"files": ["src/types.d.ts"]
|
||||
}
|
||||
Loading…
Reference in New Issue