Replies: 2 comments 2 replies
-
Yes, Vite uses |
Beta Was this translation helpful? Give feedback.
0 replies
-
commonjsOptions not work |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
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