Skip to content

vendor isn't added to stats.asssetsByChunkName #23

@faceyspacey

Description

@faceyspacey

This would be useful for packages like webpack-flush-chunks which automatically grab assets via the stats.asssetsByChunkName hash.

By default for example it will grab your main and vendor bundles (along with any rendered dynamic bundles/imports it detects), and insure your dynamic bundles go between your bootstrap/vendor and main.

So essentially this saves you from having to add <script src="dist/vendor.dll.js"></script> just in development. One of the premises of the webpack-flush-chunks setup is to help you have as similar a setup in production as development, to make going from development to production as seamless as possible.

It's a small thing, I just thought I'd bring it to your attention. Thanks for this package by the way! Super easy.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions