From af7b5674f6e17ba039d3268fe73fc16b8fdc779c Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Wed, 24 Nov 2021 16:46:08 +0000 Subject: [PATCH] chore(build): Remove cruft from buildCompiled Remove unneeded `done` parameter and commented-out options that had been cargo-culted from the old build pipeline. --- scripts/gulpfiles/build_tasks.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/gulpfiles/build_tasks.js b/scripts/gulpfiles/build_tasks.js index d1455c254..8e3a6d35c 100644 --- a/scripts/gulpfiles/build_tasks.js +++ b/scripts/gulpfiles/build_tasks.js @@ -447,7 +447,7 @@ function unflattenCorePaths(pathString) { * * The deps.js file must be up-to-date. */ -function buildCompiled(done) { +function buildCompiled() { // Get chunking. const chunkOptions = getChunkOptions(); // Closure Compiler options. @@ -459,8 +459,7 @@ function buildCompiled(done) { language_out: 'ECMASCRIPT5_STRICT', rewrite_polyfills: true, hide_warnings_for: 'node_modules', - // dependency_mode: 'PRUNE', - externs: ['./externs/svg-externs.js', /* './externs/goog-externs.js' */], + externs: ['./externs/svg-externs.js'], define: 'Blockly.VERSION="' + packageJson.version + '"', chunk: chunkOptions.chunk, chunk_wrapper: chunkOptions.chunk_wrapper,