Example with wyw-in-js and linaria
Linaria uses wyw-in-js as its engine. It would be interesting to see an example of its usage. It has plugins for Webpack; can we use them with compatibility? Currently, the new version of MUI (v6) uses pigment-css as a style extractor, which also uses wyw-in-js. With this in mind, it would be interesting to check compatibility with Rspack and Rsbuild, considering that MUI is widely used as a design utility.
I opened an issue on MUI about this matter to check if there is a pigment-css plugin compatible with Rspack. https://github.com/mui/pigment-css/issues/162
@chenjiahan Do you have any idea how to do it or if you can see if we can already use the webpack plugin? https://wyw-in-js.dev/bundlers/webpack
@wyw-in-js/webpack-loader is a webpack loader, and Rspack supports almost all the webpack loaders, so it should work, you can try it.