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'm currently including moveto in a project and it appears to work great in development.
However when I attempt a production build with webpack it will throw an error from Uglify: ERROR in vendor.js from UglifyJs SyntaxError: Unexpected token: punc ()) [vendor.js:xx,xx]
commenting out the import will allow the build to be successful: import MoveTo from 'moveto';
Any help appreciated.
The text was updated successfully, but these errors were encountered:
I'm currently including moveto in a project and it appears to work great in development.
However when I attempt a production build with webpack it will throw an error from Uglify:
ERROR in vendor.js from UglifyJs
SyntaxError: Unexpected token: punc ()) [vendor.js:xx,xx]
commenting out the import will allow the build to be successful:
import MoveTo from 'moveto';
Any help appreciated.
The text was updated successfully, but these errors were encountered: