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
fix(web): fix stylesOptimization for webpack 5 #6817
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nrwl/nx-dev/4ZLGbN8KQzkGHY3irFVMwet2bKxE [Deployment for d84f82c canceled] |
It's been 10h and the build status is still not updated, why is that? |
Thank for the MR. I'll try a force update to restart CI. |
Nx Cloud ReportCI ran the following commands for commit d84f82c. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch Sent with 💌 from NxCloud. |
ISSUES CLOSED: #6816
merged! thanks again |
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
The output CSS is not minified when running the production build with webpack 5.
Expected Behavior
The CSS is minified when using
--prod
build flag orNODE_ENV=production
.Related Issue(s)
Fixes #6816