diff --git a/build/gulpfile.compile.js b/build/gulpfile.compile.js index c6d7bbded93..02474be8b82 100644 --- a/build/gulpfile.compile.js +++ b/build/gulpfile.compile.js @@ -32,7 +32,9 @@ function makeCompileBuildTask(disableMangle) { } // Full compile, including nls and inline sources in sourcemaps, mangling, minification, for build -const compileBuildTask = task.define('compile-build', makeCompileBuildTask(false)); +// --- Start Positron --- +const compileBuildTask = task.define('compile-build', makeCompileBuildTask(process.env.DISABLE_MANGLE === 'true')); +// --- End Positron --- gulp.task(compileBuildTask); exports.compileBuildTask = compileBuildTask; diff --git a/package.json b/package.json index 8ce0522e5a3..77906a741c8 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "kill-watch-build-toolsd": "deemon --kill yarn watch-build-tools", "precommit": "node build/hygiene.js", "gulp": "node --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js", + "big-gulp": "DISABLE_MANGLE=true node --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js", "electron": "node build/lib/electron", "7z": "7z", "update-grammars": "node build/npm/update-all-grammars.mjs",