You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I utilized in my sample application, when i start using "npm start" it is working fine. But when i try to build using "npm run build" showing error like Missing( > ) with UglifyJs. Could you please let me know how to resolve this issue.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
It's up to you to transpile it with Babel if you want to use it in the browser. Uglify doesn't support ES2015 syntax.
If you use Webpack, check out babel-engine-plugin, which transpiles only the dependencies that needs to be transpiled.
If you use Create React App, upgrade to Create React App v2. It supports automatic transpilation of dependencies, which will make this package just work.
Hello,
I utilized in my sample application, when i start using "npm start" it is working fine. But when i try to build using "npm run build" showing error like Missing( > ) with UglifyJs. Could you please let me know how to resolve this issue.
Thanks in advance.
The text was updated successfully, but these errors were encountered: