You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/10/11 09:08:49 UTC

[GitHub] yuanlove521 opened a new issue #9203: 使用 echarts 提供的构建脚本自定义构建报错

yuanlove521 opened a new issue #9203: 使用 echarts 提供的构建脚本自定义构建报错
URL: https://github.com/apache/incubator-echarts/issues/9203
 
 
   报错信息:
       ```
   min && plugins.push(uglifyPlugin({
       TypeError: uglifyPlugin is not a function
   ```
   
   解决方案:
       找到/node_modules/echarts/build/config.js文件
       将:
            `const uglifyPlugin = require('rollup-plugin-uglify')`
       改为
            `const uglifyPlugin = require('rollup-plugin-uglify').uglify`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org