Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

npm pack doesn't bundle scoped bundledDependencies #8614

@falsecz

Description

@falsecz

test package.json

{
  "name": "npm-bundle-test",
  "version": "1.0.0",
  "dependencies": {
    "@myscope/debug": "*"
  },
  "bundledDependencies": [
    "@myscope/debug"
  ]
}

npm install creates node_modules/@myscope/debug/, but npm pack ignore all scoped bundled dependencies

# tar -tvf npm-bundle-test-1.0.0.tgz`
-rw-r--r-- 501/20          152 2015-06-19 16:09 package/package.json

It probably does not work because scoped modules are in @scope subdirectory.

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