Skip to content

How to use --modules-folder flag? #1684

@borela

Description

@borela

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions