When using yarn in deploys, is there a way to specify version (v1 or v2 of yarn)?
f
Frank
01/20/2022, 6:43 PM
Hey @Trey Overton, most build images come with yarn 1.22.5, which supports yarn 2. So if you have yarn 2 configured for your project, yarn will use v2 automatically.
Very good, it handles it and I don't have to do anything special. I like this. I'm not sure if this is not in the docs, or I'm just bad at finding it. I only saw that it detects if you are using yarn, nothing about versions.