I am studying Lazy loading on the route level of this blog.
When I ran the npm run dev command on the code-splitting-branch branch, I found that there was an additional vendors~profile.js file. I looked at the configuration of webpack.dev.js and found that splitChunks was not used.
So I'm confused as to why there is a separate vendors~profile.js file. Is it related to using import()?
If you have time, could you help me take a look at this issue? Thanks a lot~
I am studying
Lazy loading on the route levelof this blog.When I ran the
npm run devcommand on thecode-splitting-branchbranch, I found that there was an additionalvendors~profile.jsfile. I looked at the configuration ofwebpack.dev.jsand found thatsplitChunkswas not used.So I'm confused as to why there is a separate
vendors~profile.jsfile. Is it related to usingimport()?If you have time, could you help me take a look at this issue? Thanks a lot~