Learn MS NET | All posts tagged 'Yarn'

Our journey learning how to write .NET

Learn MS NET

  • Join Us on Facebook!
  • Follow Us on Twitter!
  • LinkedIn
  • Subcribe to Our RSS Feed

Setting a custom location for node_modules path with yarn


When installing packages with yarn the default folder that they are added to is “node_modules” in the directory of the project. Normally this does not present a problem unless you want to setup a different folder structure for your project. The problem I have seen with yarn as I have just started to use it with my projects is that the documentation is not the most concise that can be found.One way we can change the output is to append the command line with the option of --modules-folder. this op... [More]