Answer the question
In order to leave comments, you need to log in
How to set chunk / cacheGroup for a specific entrypoint?
How to set chunk / cacheGroup for a specific entrypoint?
For example, there are entrypoints that will import:
outer - [vue.js, some-outer-templates.vue]
inner - [vue.js, flatpickr, some-inner-templates.vue]
pupil - [vue.js, flatpickr, some-pupil-templates.vue]
teacher - [vue.js, flatpickr, some-teacher-templates.vue]
outer - ['outer-chunk']
inner - ['outer-chunk', 'inner-chunk']
pupil - ['outer-chunk', 'inner-chunk']
teacher - ['outer-chunk', 'inner-chunk']
outer-chunk - [vue.js]
inner-chunk - [flatpickr]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question