Replies: 4 comments 1 reply
-
I would also like to use FormatJS (react-intl) in Next.js with the SWC plugin. Is this possible through configuration? Or is this only possible within some internal component of Next.js? |
Beta Was this translation helpful? Give feedback.
-
It looks like the only current way is to hack it in using something like patch-package?
|
Beta Was this translation helpful? Give feedback.
-
@markhughes Thanks for that suggestion. Do you have example code that's working for you? |
Beta Was this translation helpful? Give feedback.
-
@uonr any update? tks |
Beta Was this translation helpful? Give feedback.
-
Describe the feature you'd like to request
FormatJS provides the SWC plugin, but there is no way to integrate the SWC plugin into next.js.
related comments in next.js discussion
Describe the solution you'd like
add a field in
next.config.js
to apply custom swc plugins.Describe alternatives you've considered
integrate formatjs swc plugin into next.js
Beta Was this translation helpful? Give feedback.
All reactions