Skip to content

build.files won't work as expected #701

@just-jeb

Description

@just-jeb
  • 5.34.1:
  • 1.3.4:

I would expect that if I specify "files": ["*.js"], it would include all the .js files in the app folder and its subfolders (similarly to find -name) into the build. However it includes only .js files in the app folder (won't include the subfolders).
Specifying "files": ["**/*.js"] causes electron-builder to include the whole app folder into the build (i.e. the same as specifying "files": ["**/*"]).
Both options appear to not work in a right way, so I suppose there is a bug here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions