I'm trying to build a web application with Yarn, but currently when I use yarn install it by default installs all the dependencies to node_modules
Is there a way to install them to another folder in the same project. I'm trying to install them to /app/vendor And I could do this in bower by making a .bowerrc file with the command
{ "directory": "app/vendor" }
but as far as I know yarn doesn't support bower anymore and I would rather just build my project with only yarn and not deal with multiple package managers
Aucun commentaire:
Enregistrer un commentaire