Simplify gulpfile.ts/tsconfig.json

The `tsconfig.json` inside `gulpfile.ts` needs to match the root
`tsconfig.json`, so by making it extend the root `tsconfig.json` and
changing just the options which decide which files are included, we can
remove a lot of duplication.
This commit is contained in:
Koen Vlaswinkel
2022-12-12 10:13:58 +01:00
parent 2e7557ba09
commit cac7c3ae4e

View File

@@ -1,22 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../tsconfig.json",
"compilerOptions": {
"declaration": true,
"strict": true,
"module": "commonjs",
"target": "es2021",
"lib": ["ES2021"],
"moduleResolution": "node",
"sourceMap": true,
"rootDir": ".",
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true,
"preserveWatchOutput": true,
"newLine": "lf",
"noImplicitReturns": true,
"experimentalDecorators": true,
"noUnusedLocals": true,
"noUnusedParameters": true
"rootDir": "."
},
"include": ["*.ts"]
}