mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
esm - backport worker related changes (#225672)
This commit is contained in:
@@ -157,7 +157,7 @@ export function createESMSourcesAndResources2(options: IOptions2): void {
|
||||
|
||||
if (file === 'tsconfig.json') {
|
||||
const tsConfig = JSON.parse(fs.readFileSync(path.join(SRC_FOLDER, file)).toString());
|
||||
tsConfig.compilerOptions.module = 'es6';
|
||||
tsConfig.compilerOptions.module = 'es2022';
|
||||
tsConfig.compilerOptions.outDir = path.join(path.relative(OUT_FOLDER, OUT_RESOURCES_FOLDER), 'vs').replace(/\\/g, '/');
|
||||
write(getDestAbsoluteFilePath(file), JSON.stringify(tsConfig, null, '\t'));
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user