Replies: 3 comments
-
I made a minimal repo here https://github.com/Anubarak/vite-code-splitting Maybe it is easier to help with that |
Beta Was this translation helpful? Give feedback.
0 replies
-
is this still not possible? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @Anubarak I did this in my library
Hope it helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In webpack you can easily enable automatic code splitting https://webpack.js.org/guides/code-splitting/#dynamic-imports
this will automatically create multiple files. I searched for hours now but was not able to find a way to automatically achieve the same in Vite (+Vue). My current config is:
Is there any way to achieve the same?
Beta Was this translation helpful? Give feedback.
All reactions