Fy

Results 73 comments of Fy

This is not a bug, it's how css extract plugin works, the style flashes to avoid the style updates by splitChunks, css may change even no css modules are modified,...

Yes, I've closed this because I think in the future we will refactor the css-extract runtime to built-in css runtime, make them work the same, that should solve the flash...

> Could you please prioritize this I would indeed if I got more time, sorry 😢, I can help if anyone is happy to make a PR

> the types.d.ts says this lazyCompilation should be false by default, but it obviously isn't. Is that another bug? It's enabled by default for async chunks in rsbuild. https://rsbuild.rs/config/dev/lazy-compilation#devlazycompilation

> webpack is ok. Did you use this [loader](https://github.com/fz6m/lightningcss-loader) ?

Can you try add a targets config to it, I tried and compiled successfully, I'm not sure if this is a bug of lightningcss

Lightningcss have fixed this, now it should be fine

The reasons for stuck are so many, if you can provide a repro I believe we can help solving that in a few days

OptimizeChunks hook in webpack allows modification of chunk graph, which is not supposed to work in Rspack at present, so any modification to chunk is not allowed. But you can...

Yes, this issue should reopen as webpack and Rspack both switch to new algorithm to deal with css since #8534. And we are trying to solve this