Skip to content

Assets from node_modules not included #21

@kenmadev

Description

@kenmadev

Describe the bug
Assets bundling works fine in v2.x.x Because I have this json prop on my package.json

"pkg": {
    "assets": [
      "node_modules/header-generator/data_files/**/*"
    ],
  }

and since the old pkg was able to read it, it worked just fine.
I think in v3.x.x the assets are not included properly into the bundled .exe. I'm getting ENOENT to the required files.

To Reproduce
Install npm package header-generator. This package contains data_files assets folder that is required to function.

Expected behavior
Assets should be able to be included in the bundled .exe file and do its normal behaviour

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions