From cd1d18b7a0a1747e32e47859e31da58b9b0708de Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Mon, 6 Jan 2020 10:57:58 -0800 Subject: [PATCH] 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 --- tests/compile/compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compile/compile.sh b/tests/compile/compile.sh index 177cf51c4..0f05f212f 100755 --- a/tests/compile/compile.sh +++ b/tests/compile/compile.sh @@ -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