Webpack 5 splitChunks in Production mode #13562
Unanswered
sadeghbarati
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @alexander-akait @sokra
Webpack
4
:Back in previous version
when used dynamic import in both mode
development
andproduction
, create a chunkFile based on dynamic import with the nameWebpack
5
:only in
development
dynamic import create chunkFilethings that confuse me in webpack
5
foroptimization.splitChunks
:flickity.js:
specify
package?if I chunk every file or every vendor I have in my project number of request to server will rise and slow the website
every single post or resources I read, all of them use this config 😐
chunkId
ormoduleId
when I havechunkFilename
?packages
orspecify
package withsplitChunks.cacheGroups
what meaning of this? it means if you name a chunk same as entry, entry will transfrom to chunkFile ?
Beta Was this translation helpful? Give feedback.
All reactions