Skip to content

Installed devDependencies in --production #3439

@vchrm

Description

@vchrm

Hi, although there are no production dependencies at all, using yarn install --production yarn still installs four packages (164 kB) to node_modules/ with the following package.json:

{
  "devDependencies": {
    "webpack": "2.5.1"
  }
}

Shouldn't be node_modules/ empty? Am I missing something? With our full package.json with 26 devDependencies (still no production dependencies) yarn goes to 21 MB.

I am using:

  • yarn 0.24.4
  • node 6.10.3
  • Gentoo Linux

Thank you!

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