Skip to content

Dependencies of packages are not always included #33

Description

@technicallyfeasible

I have an issue where the package source-map-support is not included.

This package is a dependency of some dev dependencies of my project but also of regular dependencies. When the regular dependency is loaded at runtime it fails with the required package missing.

Example:

devDependencies: { "jest": "^27.0.5" },
dependencies: { "dynamoose": "^2.7.3" }

When dynamoose is loaded at runtime it fails. The package source-map-support is not in node_modules.

Expected:
If a package is used in both a dependency as well as a devDependency then it should be included when building the package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions