Replies: 2 comments 1 reply
-
Yes, Vite uses |
Beta Was this translation helpful? Give feedback.
0 replies
-
commonjsOptions not work |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to resolve an issue mentioned in this thread
rollup/rollup#4723 (comment)
@lukastaegert has added a new feature to rollup:
minChunkSize
feature. However, I've not been able to make it work with Vite. Currently, I am suspecting that we are missing@rollup/plugin-commonjs
in our Vite configuration, though it is not clear if Vite already somehow employs this plugin (and how to override it).Part of documentation mentions that this plugin is used:
https://vitejs.dev/guide/dep-pre-bundling.html
However, inside a Vite project, I don't see this dependency anywhere in the dependency tree.
Beta Was this translation helpful? Give feedback.
All reactions