@rolldown/plugin-babel on node_modules library #27
Unanswered
codeart1st
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the recommended way to transform library code inside
node_moduleswith Vite and@rolldown/plugin-babel? The only solution I've found so far is overriding the default exclude pattern (/[\/\\]node_modules[\/\\]/) while also using optimizeDeps.exclude in the Vite configuration.I have ecma decorator syntax in my library code, I want to transform in the final app project.
Beta Was this translation helpful? Give feedback.
All reactions