Skip to content

Commit

Permalink
feat: remove mangling in extensions (#2090)
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam authored Nov 4, 2024
1 parent cc540f9 commit 5fb2ded
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions patches/extensions-disable-mangler.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- vscode-1.80.1/extensions/mangle-loader.js.old 2023-07-12 18:45:52.000000000 +0200
+++ vscode-1.80.1/extensions/mangle-loader.js 2023-07-28 11:55:01.177444702 +0200
@@ -37,7 +37,7 @@ function getMangledFileContents(projectP
* @type {webpack.LoaderDefinitionFunction}
*/
module.exports = async function (source, sourceMap, meta) {
- if (this.mode !== 'production') {
+ if (true) {
// Only enable mangling in production builds
return source;
}

0 comments on commit 5fb2ded

Please sign in to comment.