yarnpkg/yarn

How to use --modules-folder flag?

Open

#1 684 ouverte le 4 nov. 2016

Voir sur GitHub
 (56 commentaires) (4 réactions) (0 assignés)JavaScript (2 731 forks)batch import
cat-buggood first issuehelp wantedhigh-prioritytriaged

Métriques du dépôt

Stars
 (41 514 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur