Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is there a separate vendors~profile.js in code-splitting-routes branch? #8

Open
lxow456 opened this issue Nov 24, 2023 · 0 comments

Comments

@lxow456
Copy link

lxow456 commented Nov 24, 2023

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~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant