Skip to content

Commit

Permalink
Adding new 'big-gulp' script to package.json that creates an unmangle…
Browse files Browse the repository at this point in the history
…d build in just a few minutes (#5670)
  • Loading branch information
softwarenerd authored Dec 9, 2024
1 parent 4d18d86 commit fb331da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/gulpfile.compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fb331da

Please sign in to comment.