-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
ExtractCSS rule breaks HMR and SourceMaps in dev mode. #5390
Comments
Should be probably reported to https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/ as well which is used for |
Dirty fix: {
// ...
extractCSS: process.env.NODE_ENV === 'production'
} |
@AndrewBogdanovTSS As mentioned in faceyspacey/extract-css-chunks-webpack-plugin#161, does it still happen in nuxt-edge (which depends on v4.2.X)? |
The problem persists even with nuxt-edge and extract-css-chunks-webpack-plugin^4.2.0. |
@manniL yes, I tried to use latest version of extract-css-chunks-webpack-plugin and only after that logged an issue in their repo |
@manniL just tested it with latest Nuxt 2.6.0 beta which uses extract-css-chunks-webpack-plugin 4.2.0. and can confirm that it's still broken. I've also updated a repro link to use 4.2.0 explicitly |
I also am experiencing this on Nuxt 2.6.0 |
I can confirm this. It was super frustrating before I've realized, the extractCSS was the issue with HMR. The issue exists from v2.5.0 on. |
Hi, i have this also in Nuxt.js v2.6.2 |
I have the same issue on 2.7.1 |
There is any news about this issue ? |
still have this problem with extractCSS |
Version
v2.5.1
Reproduction link
https://codesandbox.io/s/w08yyp72zk
Steps to reproduce
nuxt
in dev modeWhat is expected ?
What is actually happening?
The text was updated successfully, but these errors were encountered: