STRICT is no longer supported by Closure Compiler

Apparently 'PRUNE' is the new option, but it's undocumented.  More info:
https://github.com/google/blockly-games/issues/176
This commit is contained in:
Neil Fraser
2020-01-06 10:57:58 -08:00
committed by Neil Fraser
parent f17c0ae21c
commit cd1d18b7a0

View File

@@ -83,7 +83,7 @@ COMPILATION_COMMAND="java -jar $COMPILER --js='$BLOCKLY_ROOT/tests/compile/main.
--compilation_level ADVANCED_OPTIMIZATIONS \
--language_in ECMASCRIPT5_STRICT \
--language_out ECMASCRIPT5_STRICT \
--dependency_mode=STRICT --entry_point=Main \
--dependency_mode=PRUNE --entry_point=Main \
--js_output_file $BLOCKLY_ROOT/tests/compile/main_compressed.js"
echo "$COMPILATION_COMMAND"
$COMPILATION_COMMAND