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

[next.js] Support non-Babel mode: SWC #87

Open
oliviertassinari opened this issue May 16, 2024 · 3 comments
Open

[next.js] Support non-Babel mode: SWC #87

oliviertassinari opened this issue May 16, 2024 · 3 comments
Assignees
Labels
new feature New feature or request nextjs status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@oliviertassinari
Copy link
Member

oliviertassinari commented May 16, 2024

Summary

Same use case as https://twitter.com/t3dotgg/status/1790897260731224322

Examples

No response

Motivation

Search keywords: -

@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 16, 2024
@oliviertassinari oliviertassinari changed the title [next.js] Support non Babel mode [next.js] Support non Babel mode / SWC May 16, 2024
@oliviertassinari oliviertassinari changed the title [next.js] Support non Babel mode / SWC [next.js] Support non-Babel mode: SWC May 16, 2024
@oliviertassinari oliviertassinari added the new feature New feature or request label May 16, 2024
@o-alexandrov
Copy link

o-alexandrov commented May 16, 2024

Isn’t it a duplicate of Anber/wyw-in-js#69 ?

  • since pigment-css uses wyw-in-js

and this issue is not exclusive to next.js, it’s applicable to vite and any other bundler in the future

@oliviertassinari
Copy link
Member Author

I think it's nice to have both issues, there isn't necessary a direct correlation between the two.

@lpic10
Copy link

lpic10 commented Sep 11, 2024

It would be nice to have that. Today with mui v5 we can use vite with swc instead of babel but that is not possible with mui v6 if we want to try pigment-css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request nextjs status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

4 participants