mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +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": {
|
||||
"baseUrl": "./",
|
||||
"allowJs": true,
|
||||
"checkJs": false,
|
||||
"strict": true,
|
||||
@ -11,10 +12,14 @@
|
||||
"noImplicitOverride": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
// matches the alias in webpack config, so that types for those imports are visible.
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"dist"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user