I'm using modern Yarn (v3.2.4 to be exact) which differs from Yarn Classic.
I'm using the nodeLinker: node-modules
option in .yarnrc.yml
so /node_modules
are created, and dependencies are not saved to the repo.
I want to install only production dependencies (no devDependencies) but the --production
flag isn't support in in Yarn 3. How can I do this?