Mithril.js: Bundle isn't strict?

Created on 4 Jul 2018  路  4Comments  路  Source: MithrilJS/mithril.js

The latest bundle is not in strict mode. I thought this had been addressed previously...?

Workflow Bug

All 4 comments

Hi @isiahmeadows!

Good catch, it looks like a closure compiler thing, that only happens in the minified build.

So maybe replace it with a dev dependency of uglify-js? (It's cheap to install in CI - it has zero dependencies.)

BTW, UglifyJS generally compresses better than Closure Compiler for unannotated code, so it might not be a bad idea to switch either way.

This appears fixed in the latest bundle.

Was this page helpful?
0 / 5 - 0 ratings