mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
tweak SWC options to allow module interop
This commit is contained in:
@@ -388,7 +388,7 @@ export class SwcTranspiler implements ITranspiler {
|
||||
},
|
||||
module: {
|
||||
type: 'amd',
|
||||
noInterop: true
|
||||
noInterop: false
|
||||
},
|
||||
minify: false,
|
||||
};
|
||||
@@ -397,7 +397,7 @@ export class SwcTranspiler implements ITranspiler {
|
||||
...this._swcrcAmd,
|
||||
module: {
|
||||
type: 'commonjs',
|
||||
importInterop: 'none'
|
||||
importInterop: 'swc'
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user