mirror of
https://github.com/nasa/openmct.git
synced 2025-05-02 08:43:17 +00:00
Add baseUrl, outDir, and exclude options (#5757)
- Fixes erroneous TS language server warnings showing up in the VSCode terminal - Ensures TypeScript language server features (such as refactor) are able to work properly by excluding build files
This commit is contained in:
parent
a073649e64
commit
cae579f5b3
@ -4,6 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"baseUrl": "./",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"checkJs": false,
|
"checkJs": false,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
@ -11,10 +12,14 @@
|
|||||||
"noImplicitOverride": true,
|
"noImplicitOverride": true,
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
|
"outDir": "dist",
|
||||||
"paths": {
|
"paths": {
|
||||||
// matches the alias in webpack config, so that types for those imports are visible.
|
// matches the alias in webpack config, so that types for those imports are visible.
|
||||||
"@/*": ["src/*"]
|
"@/*": ["src/*"]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"exclude": [
|
||||||
|
"node_modules",
|
||||||
|
"dist"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user