es6-css-minify
es6-css-minify copied to clipboard
Can't minify logical OR assignments
Describe the bug When trying to minify a JavaScript file where logical OR assignments (see MDN) are used, Minify runs into an error ("Unexpected token: operator (=)")
To Reproduce Steps to reproduce the behavior:
- Make a new JS file
- Sample code:
let a = "";
let b = "";
b ||= a;
- Minify the file.
- See error output console.
Expected behavior The file should minify to
let a="",b="";b||=a;
Basically it is the same as #144.
Desktop: VS-Code Version: 1.70.2 Minify Version: v3.3.3 OS: Windows_NT x64 10.0.18363