chore: correctly updates the compiled flag (#5767)

This commit is contained in:
alschmiedt
2021-12-02 08:29:53 -08:00
committed by GitHub
parent ee18553035
commit 35279eb8b7
2 changed files with 2 additions and 5 deletions

View File

@@ -457,6 +457,7 @@ function compile(options) {
language_out: 'ECMASCRIPT5_STRICT',
rewrite_polyfills: true,
hide_warnings_for: 'node_modules',
define: ['COMPILED=true'],
externs: ['./externs/svg-externs.js'],
};
if (argv.debug || argv.strict) {