Closed alessioalex closed 6 years ago
Nevermind, I'm using uglify-es
and that works fine. In case others have the same problem, read: https://github.com/babel/babel-preset-env#targetsuglify
uglify-es is unmaintained. terser is a maintained fork.
is this const
in a dependency? browserify does not run transforms on dependencies by default. #268 #276 #56
if it's in your own code, there might be a bug.
Thank you, I think it was in a dependency, not in my code.
Hello there, I'm using the following command to babelify my code:
Unfortunately it breaks:
Any tips on how to deal with this? I tried googling and reading the docs, but couldn't find the issue.