What is the current behavior?
When a package is depended on by both a dependency and a devDependency, the devDependency visibility takes precedence when installing into production, this results in shared dependencies not being installed in production.
If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/dreid/yarn-dev-dep-failure
yarn install --production does not install function-bind
npm install --production does install function-bind
What is the expected behavior?
Production builds should install dependencies that are visible from production dependencies.
Please mention your node.js, yarn and operating system version.
❯ yarn --version
0.17.9
❯ node -v
v7.1.0
❯ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.1
BuildVersion: 16B2555