Skip to content

Option to disable vendor chunks #1683

@Grafikart

Description

@Grafikart

In a recent update vite behaviour changed and vite is now creating a vendor chunk but in some case (for an app with only one entrypoint) we may want to get only one file.
Is it possible to add an option to disable it, or did I miss something ?

I looked at the code and this option is linked to other options :(

https://github.com/vitejs/vite/blob/main/packages/vite/src/node/build.ts#L364

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions