mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
esm - set module to es2022 (#225793)
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ function migrateOne(filePath, fileContents) {
|
||||
writeDestFile(filePath, fileContents);
|
||||
} else if (filePath.endsWith('tsconfig.base.json')) {
|
||||
const opts = JSON.parse(fileContents.toString());
|
||||
opts.compilerOptions.module = 'ESNext';
|
||||
opts.compilerOptions.module = 'es2022';
|
||||
opts.compilerOptions.allowSyntheticDefaultImports = true;
|
||||
writeDestFile(filePath, JSON.stringify(opts, null, '\t'));
|
||||
} else if (binaryFileExtensions.has(fileExtension)) {
|
||||
|
||||
Reference in New Issue
Block a user