Skip to content

Exclude a directory while packaging  #927

@akashnimare

Description

@akashnimare
  • Version:
    8.7.0
  • Target:
    OSX

I'm using electron-builder to package my app. While building installers I want to exclude a directory (which is junk and have no real use) which resides in my app/node_modules/@paulcbetts/cld/deps/cld . As of now I manually delete it and then run npm run dist to package. Is there any way I can exclude it while building?

@develar any help would be highly appreciated since that folder is taking ~120MB of my app size 😭

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions