webpack - Error: Unexpected token: punc () -
i'm trying build project uses webpack. uglifyjs options looks this:
new uglifyjsplugin({ sourcemap: false, uglifyoptions: { compress: { warnings: false, }, output: { comments: false, }, }, }),
what error: unexpected token: punc ()) [index-3d0ae630eaa0a0128a00.js:145853,20]
i have found topic saying might problem webpack uglify plugin, i've switched uglifyjs-webpack-plugin
.
any ideas?
Comments
Post a Comment