Skip to content

optionalDependencies are still added to node_modules #279

@jchirschy

Description

@jchirschy

Hello,

When running sam build npm config optional=false seems to be just ignored whether it is passed through env variables, .npmrc or whatever way to do it. npm config ls -l shows that optional=false is set correctly.

aws --version : aws-cli/1.16.260 Python/3.7.5 Darwin/17.7.0 botocore/1.12.250
node -v : v10.17.0
npm -v : 6.11.3

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