You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature would be very useful in CI, which would allow me to create a stage in the dockerfile where I can install the production dependencies, and then copy them into the final build, without having to redownload everything
What is the feature you are proposing to solve the problem?
Ideally? Just make bun install --production's resulting node_modules files only contain the production dependencies.
It seems that right now, if you install the production dependencies, but you already have the dev dependencies, it results in no change, which is a little unintuitive in my opinion.
What alternatives have you considered?
A separate flag that allows you to "prune" node_modules down to only the production deps.
The text was updated successfully, but these errors were encountered:
What is the problem this feature would solve?
This feature would be very useful in CI, which would allow me to create a stage in the dockerfile where I can install the production dependencies, and then copy them into the final build, without having to redownload everything
What is the feature you are proposing to solve the problem?
Ideally? Just make
bun install --production
's resultingnode_modules
files only contain the production dependencies.It seems that right now, if you install the production dependencies, but you already have the dev dependencies, it results in no change, which is a little unintuitive in my opinion.
What alternatives have you considered?
A separate flag that allows you to "prune" node_modules down to only the production deps.
The text was updated successfully, but these errors were encountered: