When Yarn is used to install dependencies, it puts them in node-modules directory by default.
node-modules
How can I change this to i.e Laravel resources fo
resources
You can create a .yarnrc file with the following content:
--modules-folder resources
This way every yarn command will have this parameter set.
yarn