Skip to content

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

Description

@lxow456

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~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions