Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run build 报错 #1777

Closed
nsuedu opened this issue Jun 25, 2018 · 2 comments
Closed

npm run build 报错 #1777

nsuedu opened this issue Jun 25, 2018 · 2 comments

Comments

@nsuedu
Copy link

nsuedu commented Jun 25, 2018

预期的正常效果:编译成功

实际效果

Failed to minify the bundle. Error: index.200bdcf7.js from UglifyJs
Unexpected token: punc (() [index.200bdcf7.js:1700,13]
at doneHandler (D:\zhixin\frontEnd\dataPlat\node_modules\af-webpack\lib\build.js:91:27)
at emitRecords.err (D:\zhixin\frontEnd\dataPlat\node_modules\webpack\lib\Compiler.js:265:13)
at Compiler.emitRecords (D:\zhixin\frontEnd\dataPlat\node_modules\webpack\lib\Compiler.js:371:38)
at emitAssets.err (D:\zhixin\frontEnd\dataPlat\node_modules\webpack\lib\Compiler.js:258:10)
at applyPluginsAsyncSeries1.err (D:\zhixin\frontEnd\dataPlat\node_modules\webpack\lib\Compiler.js:364:12)
at next (D:\zhixin\frontEnd\dataPlat\node_modules\tapable\lib\Tapable.js:218:11)
at Compiler.compiler.plugin (D:\zhixin\frontEnd\dataPlat\node_modules\webpack\lib\performance\SizeLimitsPlugin.js:99:4)

哪个库的哪个版本出现的问题: 引入antvG6后代码打包报错

@sorrycc
Copy link
Member

sorrycc commented Jun 25, 2018

sorrycc/blog#68

@sorrycc sorrycc closed this as completed Jun 25, 2018
@jrschumacher
Copy link

@nsuedu I have a PR for sorrycc/roadhog#844 which supports TerserJS (documentation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants