mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
[Build] Update tsconfig to explicitly set target
and module
options (#7845)
* bugfix: update tsconfig to set module to NodeNext and exclude openmct/e2e * chore: remove unnecessary paths from exclude - the `exclude` option only excludes files in the context of the `include` paths, if there are any. We can remove some of these because they don't match anything in the include paths. * chore: fix capitalization for consistency --------- Co-authored-by: Jesse Mazzella <jesse.d.mazzella@nasa.gov>
This commit is contained in:
parent
fa8efa858b
commit
de122b91c2
@ -4,6 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"target": "ES6",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"checkJs": false,
|
"checkJs": false,
|
||||||
@ -14,14 +15,14 @@
|
|||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"noImplicitOverride": true,
|
"noImplicitOverride": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"outFile": "dist/types/index.d.ts"
|
"outFile": "dist/types/index.d.ts",
|
||||||
|
"module": "NodeNext",
|
||||||
|
"moduleResolution": "NodeNext"
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/api/**/*.js"
|
"src/api/**/*.js"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
|
||||||
"dist",
|
|
||||||
"**/*Spec.js"
|
"**/*Spec.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user