Open dayneh88 opened 6 years ago
Same here. Works fine when testing in dev, but ugifying it for production throws an error. @dayneh88 - Did you manage to get to the bottom of the issue?
Update: issue is due to uglifyJS not being able to handle ES6 syntax.
Same issue, @RyanGosden did you figure it out?
Edit: I had to update my uglifyjs version
Just stumbled upon this. The classname seems to be an issue. Just use the minified version of the script.
The package is working great but my terminal keeps throwing this error whenever I compile my bundle.js
More annoying than anything haha.