You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tinyify would consider all of this unused code and remove this. To check if this is what happening, try adding a --standalone/-s flag to the browserify command, because then the export would not be considered unused.
Thank you @goto-bus-stop. That did the trick. Except it then defines the resulting lib as a UMD. I'd like a way to stop Tinyify from removing dead code. But apparently there's no flag for this in this plugin.
I'm having issues trying to get this to generate a minified output file. The mentioned output file is empty. I've tried these options. None work.
And they all result in an empty foobar.min.js file. What am I doing wrong?
The text was updated successfully, but these errors were encountered: