Closed AquaJew closed 6 years ago
Tried to run minify in sublime on my JavaScript, and got a big nasty popup with uglifyjs:
Parse error at [FILENAME] "const IMAGES = document.querySelectorAll("img");
ERROR: Unexpected token: keyword (const)
Does minify fail to support ES6?
The Minify plugin is just the bond between SublimeText editor and UglifyJS. The actual minification is done by UglifyJS which is a program written in Javascript. That program is not written nor maintained by me.
Tried to run minify in sublime on my JavaScript, and got a big nasty popup with uglifyjs:
Parse error at [FILENAME] "const IMAGES = document.querySelectorAll("img");
ERROR: Unexpected token: keyword (const)
Does minify fail to support ES6?