mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Build TS extension against current vscode.d.ts directly
Currently extensions like TS have a dev dependency on the `"vscode"` package. This pulls in a copy of `vscode.d.ts` that we end up using instead of our local `vscode.d.ts`. This change uses the `paths` `tsconig` option so that we use our local `vscode.d.ts` instead of the one from `node_modules`
This commit is contained in:
@@ -2,9 +2,16 @@
|
||||
"extends": "../shared.tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./out",
|
||||
"experimentalDecorators": true
|
||||
"experimentalDecorators": true,
|
||||
// https://github.com/microsoft/TypeScript/issues/31869#issuecomment-515167432
|
||||
"baseUrl": "src/\u0000",
|
||||
"paths": {
|
||||
"vscode": [
|
||||
"../../../../src/vs/vscode.d.ts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user