Thoughts on rewire plugin / tooling #2609
glomotion
started this conversation in
Plugin request / idea
Replies: 1 comment
-
I want to replace my old repository using babel-plugin-rewire with SWC. Is there any good place to migrate to? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
To date, we have been rewiring JS imports (inside @cypress/react test suites etc) using a babel plugin inside our test build toolchain: https://github.com/asapach/babel-plugin-rewire-exports
Now that nextjs has shifted to using SWC - we will need to begin thinking about how we might handle module rewiring inside SWC based builds. 🤔
Does anyone else have any thoughts about this?
Has anyone managed to achieve similar functionality using SWC?
Beta Was this translation helpful? Give feedback.
All reactions