Skip to content

[Bug] final package includes node_modules which increase size significantly #360

@kingyue737

Description

@kingyue737

Describe the bug

Unpacking win_unpacked/resources/app.asar:

image

Although node_modules is not included in files config, electron-builder will still pack all dependencies which is unnecessary as vite has already bundled them in dist folder.

This node_modules folder is very large and increases the final package size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions