yarnpkg/yarn

How to use --modules-folder flag?

Open

#1684 aperta il 4 nov 2016

Vedi su GitHub
 (56 commenti) (4 reazioni) (0 assegnatari)JavaScript (2731 fork)batch import
cat-buggood first issuehelp wantedhigh-prioritytriaged

Metriche repository

Star
 (41.514 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor