Just began using Webpack, following their guides, and while they mention uglifyjs-webpack-plugin, apparently the version installed using "npm i --save-dev uglifyjs-webpack-plugin" doesn't support es6 syntax such as let or the backtick strings.
What do you recommend I do, in terms of the simplest course of action, to remedy this situation?
If the remedy is to use a different minifier, is there one that you could recommend which supports tree shaking?
EDIT-UPDATE: Self-answered my own question shortly after posting, which seems to be the common theme with me whenever I need help. See my comment below for how I solved the problem above.
Oh, nevermind. Found the answer.
Apparently I have to target 1.0.0-beta.1, which I guess gets the latest version since it's only on 0.4.6?
npm i --save-dev uglifyjs-webpack-plugin@1.0.0-beta.1
Nicolás Parada
Web Developer
There is also babel-minify.