yarnpkg/yarn

How to use --modules-folder flag?

Open

#1,684 建立於 2016年11月4日

在 GitHub 查看
 (56 留言) (4 反應) (0 負責人)JavaScript (41,514 star) (2,731 fork)batch import
cat-buggood first issuehelp wantedhigh-prioritytriaged

描述

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

貢獻者指南