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
In that case we could simply change the env preset to ES5, but that's going to result in worse code/larger payloads being delivered to browsers that we can assume will be modern based upon our browser support. babili is already in there to handle uglification/minification so that -p is unneeded anyway (once env var is passed in differently). This issue was more a reminder for me than anything else. :-)
This is due to Uglify not supporting ES6+.
Take
-p
out of the build command and manually pass the NODE_ENV instead if needed.The text was updated successfully, but these errors were encountered: