mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-05-12 23:28:27 -05:00
cefc402263
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 secs
28 lines
608 B
JSON
28 lines
608 B
JSON
{
|
|
"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"]
|
|
}
|