disable extension mangling, (#204700)

workaround for https://github.com/microsoft/vscode/issues/204692
This commit is contained in:
Johannes Rieken
2024-02-08 10:47:54 +01:00
committed by GitHub
parent 3a00525d5c
commit cccd228808

View File

@@ -41,6 +41,10 @@ module.exports = async function (source, sourceMap, meta) {
// Only enable mangling in production builds
return source;
}
if (true) {
// disable mangling for now, SEE https://github.com/microsoft/vscode/issues/204692
return source;
}
const options = this.getOptions();
if (options.disabled) {
// Dynamically disabled