Closed bgoewert closed 3 years ago
UglifyJS has supported this new optional chaining operator since v3.13.6. It looks like the minify package is on v3.4.10? https://github.com/mishoo/UglifyJS/releases/tag/v3.13.6
Didn't see this was already reported here. #62
I'm having an issue with the optional chaining operator (?.) for JavaScript. I get an error saying "Unexpected token: punc(.)"
Example:
Attempting to minify this will fail with the "Unexpected token: punc(.)" error.
I thought it might have been related to #27. But that ticket seems to have been resolved, even though it's not closed and was submitted 3 years ago. Is this project maintained anymore?