BundlerMinifier icon indicating copy to clipboard operation
BundlerMinifier copied to clipboard

JS Minify to fail softly

Open Gruski opened this issue 3 years ago • 0 comments

Was wondering, is it possible for someone familiar with the code to alter this plugin so that if Nuglify fails to minify one of the JS files in the set, it would bypass it and continue to minify the others. Then when it bundles, all JS would be minified except the ones that it couldn't.

Right now you get no bundle at all if even one file fails to minify. This is needed because is seems Nuglify is and will always be behind on supporting all the new JS standards so it will inevitably fail on something. We could separate those constructs out to separate JS files.

Gruski avatar Mar 19 '21 17:03 Gruski