Thoughts on rewire plugin / tooling #2609
glomotion
started this conversation in
Plugin request / idea
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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