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

【build Failed to compile】:打包失败 #7

Open
wenxiaod opened this issue Jan 11, 2023 · 1 comment
Open

【build Failed to compile】:打包失败 #7

wenxiaod opened this issue Jan 11, 2023 · 1 comment

Comments

@wenxiaod
Copy link

wenxiaod commented Jan 11, 2023

2022-12-08更新版本:修复map文件丢失的警告、支持webpack-devserver-plugin的热更新,之后会造成打包失败:
Failed to compile. static/css/main.49da0e9d.css from Css Minimizer plugin
12-08之前的版本不受影响,正常打包。

@ccj-007
Copy link
Owner

ccj-007 commented Jan 11, 2023

在config/webpack.config.js , 先暂时把CssMinimizerPlugin这个插件注释下不压缩,就可以打包了

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

2 participants