Skip to content

How can i use stylex in Next.js with swc? #644

Answered by nmn
Redish101 asked this question in Q&A
Discussion options

You must be logged in to vote

Since we don't have an SWC plugin, this is the only option if you want to use SWC. It's also more reliable than how the Next.js plugin works.

Further, other solutions, like Tailwind, rely on code-gen which is essentially the same process.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Redish101
Comment options

@nmn
Comment options

nmn Jul 16, 2024
Collaborator

Answer selected by Redish101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants