How to configure manualChunks so it places whole project folder into one chunk? #5103
Unanswered
AloisSeckar
asked this question in
Q&A
Replies: 1 comment
-
For now I solved it via exhaustive list of filenames with relative path from Not having:
but only something like
|
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 my Nuxt 3 project I am having my
/composables
directory organized into couple of sub-directories and I am usingindex.ts
for re-exporting the functions, like it is advised in the Nuxt docs.I have just noticed that my production build is showing lots of warnings like:
Although I don't experience any visible impact on the application, I would like to fix this.
I would like to reconfigure "output.manualChunks" option to pack all contents of
/composables
directory into one chunk (should be small enough, currently it has like 176 kB before minification), but I can't figure out, how the config should look like? How do I adress one specific folder of my project?Beta Was this translation helpful? Give feedback.
All reactions