We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
最小复现仓库: 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'] } } })); } } 后正常
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:
复现方法: npm run build 后使用微信开发工具打开 dist 目录
Sorry, something went wrong.
No branches or pull requests
最小复现仓库:
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: