How does rollup decides on the target (browser/nodejs) when building? #5104
Unanswered
seahindeniz
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
-
I have an issue on Vite, and I was wondering if it's related to Rollup or ESBuild
vitejs/vite#13926
Seems like when you build an app in library mode, bundling process assumes it is for browser, so it uses a JS file for browser even when you set target as node in Vite config file.
Beta Was this translation helpful? Give feedback.
All reactions