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
umi中去除console无效?? terserOptions:{ compress: { drop_console:process.env.NODE_ENV==='production'?true:false, } } 暴露的配置项无相关配置??https://github.com/umijs/umi/blob/master/packages/bundler-webpack/src/getConfig/terserOptions.ts ps:没有配置esbuild相关内容。
terserOptions:{ compress: { drop_console:process.env.NODE_ENV==='production'?true:false, } }
The text was updated successfully, but these errors were encountered:
terserOptions:{ compress: { drop_console:process.env.NODE_ENV==='production'?true:false, } } 这个有啥问题?
Sorry, something went wrong.
已解,部署至服务器,未更新资源导致.
No branches or pull requests
What happens?
umi中去除console无效??
terserOptions:{ compress: { drop_console:process.env.NODE_ENV==='production'?true:false, } }
暴露的配置项无相关配置??https://github.com/umijs/umi/blob/master/packages/bundler-webpack/src/getConfig/terserOptions.ts
ps:没有配置esbuild相关内容。
Context
The text was updated successfully, but these errors were encountered: