https://codesandbox.io/s/w08yyp72zk
nuxt
in dev modeShould be probably reported to https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/ as well which is used for extractCSS
Dirty fix:
{
// ...
extractCSS: process.env.NODE_ENV === 'production'
}
@AndrewBogdanovTSS As mentioned in https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/issues/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 ?
Related issue on extract-css-chunks-webpack-plugin is close but problem still occur for me.
still have this problem with extractCSS
Most helpful comment
Dirty fix: