es6-css-minify icon indicating copy to clipboard operation
es6-css-minify copied to clipboard

Bump terser version please

Open GSDUser opened this issue 3 years ago • 0 comments

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

GSDUser avatar Apr 04 '21 16:04 GSDUser