yarnpkg/yarn

How to use --modules-folder flag?

Open

#1,684 opened on Nov 4, 2016

View on GitHub
 (56 comments) (4 reactions) (0 assignees)JavaScript (41,514 stars) (2,731 forks)batch import
cat-buggood first issuehelp wantedhigh-prioritytriaged

Description

Sorry if this was asked before but I couldn't find an example in the documentation/google search.

Does this flag mean that I could have a "vendor" directory instead of "node_modules"? How to use it? I tried something like yarn install --modules-folder ./vendor/node_modules and it just installed the modules in ./node_modules.

Please mention your node.js, yarn and operating system version. Windows 7 yarn 0.16.1

Contributor guide