Skip to content
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

Example with wyw-in-js and linaria #101

Open
douglaszaltron opened this issue Jul 22, 2024 · 2 comments
Open

Example with wyw-in-js and linaria #101

douglaszaltron opened this issue Jul 22, 2024 · 2 comments

Comments

@douglaszaltron
Copy link

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.
mui/pigment-css#162

@douglaszaltron
Copy link
Author

douglaszaltron commented Jul 22, 2024

@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

@chenjiahan
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants