-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very long linking when doing 'yarn --production' (or how to get production clean yarn.lock quickly) #5986
Comments
Well actually I could call this issue How to purge yalc.lock from dev devependencies quickly. Before placing So executing Probably yarn could do something like this without touching FS, just analyzing graph and removing dev related stuff, leaving production. |
node_modules
@bestander |
Any comment on this? |
Sorry, @whitecolor, I was deeply involved in another project. |
I think it is possible. |
It's strange though that linking of |
I'm using the following deploy strategy while building nodejs apps docker images:
dependencies
and somedevDependencies
.package.json
andyalc.lock
files into new directorory.yarn --production
(after thisyarn.lock
is change to reflect only production deps, and node_modules have only production deps)yalc.lock
from dev project.yarn --production
I wonder if it is possible to make such scenario of more efficient? (This scenario is a part of preparing production files for docker image).
The text was updated successfully, but these errors were encountered: