extensions-disable-mangler.patch 458 B

1234567891011
  1. --- vscode-1.80.1/extensions/mangle-loader.js.old 2023-07-12 18:45:52.000000000 +0200
  2. +++ vscode-1.80.1/extensions/mangle-loader.js 2023-07-28 11:55:01.177444702 +0200
  3. @@ -37,7 +37,7 @@ function getMangledFileContents(projectP
  4. * @type {webpack.LoaderDefinitionFunction}
  5. */
  6. module.exports = async function (source, sourceMap, meta) {
  7. - if (this.mode !== 'production') {
  8. + if (true) {
  9. // Only enable mangling in production builds
  10. return source;
  11. }