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
When running webpack -p to build my production bundle while wikiquote is being imported/required, I receive the following error from my Webpack output, causing the build to fail.
ERROR in bundle.js from UglifyJs
Unexpected token name «t», expected punc «)» [bundle.js:1,338006]
Try updating to the latest version of webpack and use the webpack.optimize.UglifyJsPlugin? You might also need a polyfill or the transform-runtime plugin.
I was playing around with various config settings to get it to work, but I'll keep at it. Everything I'm doing is es6+ related (i'm using React), so I assumed it was something specifically in this module causing issues since it only happens when I include it.
When running
webpack -p
to build my production bundle while wikiquote is being imported/required, I receive the following error from my Webpack output, causing the build to fail.ERROR in bundle.js from UglifyJs Unexpected token name «t», expected punc «)» [bundle.js:1,338006]
Below is my
webpack.config.js
I look forward to hearing back about this issue and getting it resolved swiftly if possible!
The text was updated successfully, but these errors were encountered: