chore(build): Remove cruft from buildCompiled

Remove unneeded `done` parameter and commented-out options that had
been cargo-culted from the old build pipeline.
This commit is contained in:
Christopher Allen
2021-11-24 16:46:08 +00:00
parent 9a0d6df42c
commit af7b5674f6

View File

@@ -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,