$ npx browserify example.js -g uglifyify
SyntaxError: Unexpected token: punc (.) while parsing file: [...]/example.js
console.log(window?.test)
I can see there are a number of issues and pull requests that would be solved by upgrading the terser dependency. I suspect this is another one.
@goto-bus-stop , it seems this project has been abandoned by its original author. Have you considered publishing your branch similarly to what you did for envify?
I can see there are a number of issues and pull requests that would be solved by upgrading the terser dependency. I suspect this is another one.
@goto-bus-stop , it seems this project has been abandoned by its original author. Have you considered publishing your branch similarly to what you did for envify?