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
UglifyJsPlugin 造成WXS报错 #116
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
最小复现仓库:
https://github.com/xyyaya/minapp-bug-demo
注释掉
dist\config\webpack.config.js
中的
if (mode === 'production') { if (!env_1.env.pretty) { var UglifyJsPlugin = require('uglifyjs-webpack-plugin'); minimizer.push(new UglifyJsPlugin({ cache: true, parallel: true, sourceMap: sourceMap, uglifyOptions: { mangle: { reserved: ['module', 'exports', 'global'] } } })); } }
后正常
The text was updated successfully, but these errors were encountered: