web: Cleanup tsconfig.json files
* Extend from the recommended config. * Remove the exclude field that doesn't contribute to the file inclusion (include alone should be enough). * Remove the esModuleInterop field that shouldn't be necessary.
This commit is contained in:
parent
558bbdb520
commit
276e77d188
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
"extends": "@tsconfig/recommended/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "pkg",
|
||||
"target": "es6",
|
||||
"strict": true,
|
||||
"esModuleInterop": true
|
||||
"outDir": "pkg",
|
||||
},
|
||||
"include": ["./src/**/*"],
|
||||
"exclude": ["./dist", "./pkg", "./docs"]
|
||||
"include": ["src/**/*"],
|
||||
}
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
{
|
||||
"extends": "@tsconfig/recommended/tsconfig.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"target": "es2017",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"target": "es6",
|
||||
"strict": true,
|
||||
},
|
||||
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue