es6-css-minify
es6-css-minify copied to clipboard
Bump terser version please
Issue Some newer JS language features cause minification errors. In particular "Optional chaining" and "Nullish Coalescing".
Example 1 On minification of a file that uses Optional Chaining
[myFile.js]: [Errors]: 1 - Unexpected token: punc (.)
Example 2 On minification of a file that uses Nullish Coalescing
[myFile.js]: [Errors]: 1 - Unexpected token: operator (?)
Solution
A bump in the terser version (5.2 or better) would solve this.
Thanks