Integrating unplugin macro with Jest #3
Unanswered
franzliedke
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, we're using one of the unplugin macros from the vue-macros project, to ease our upgrade from Vue 2 to Vue 3.
The macro allows us to already adopt a feature from Vue 3 in our Vue 2 codebase, which should ease the big bang upgrade.
There's one blocker, though. I cannot figure out how to make the macro work with our existing Jest tests. To be honest, the cascade of transpilation toolchains and build tools is a bit over the top of my head. What I figured out so far is that Jest has support for Webpack, with some caveats. And unplugin in turn also supports Webpack.
Do you have any pointers for me how I can get the two to play nicely with each other? 🙏🏼
Greetings from Germany
Franz
Beta Was this translation helpful? Give feedback.
All reactions