Using a custom plugin built on babel on a project running Nextjs #8719
Closed
luispcosta
started this conversation in
General
Replies: 1 comment
-
You can't wrap it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone.
I'm not sure if this is the correct place to ask this question, so feel free to tell me where I should ask this!
I'm working on a team that is maintaining a product written in NextJS, and there's a plugin we'd really like to add to the product called Annotate React.
However this plugin was built to work with babel, which makes it impossible for us to use because we have many other packages that depend on SWC (we could use custom plugins for next as written here, however doing that will automatically tell Next to switch from SWC to babel for the compilation process).
How could we go about writing some form of a wrapper for that plugin for SWC? Is there any resources I can check out to understand what needs to be done?
Beta Was this translation helpful? Give feedback.
All reactions