0

I am using npm version 7.18.1. From what I see from the documentation the --only=development option no longer exists.

I'm creating a multi-stage Docker image. What I need to do is to create an image for the development step in which only devDependency packages are installed. On the next step, I'm going to create another image with production packages installed in it.

How do I do this without the --only=development option?

Élodie Petit
  • 5,774
  • 6
  • 50
  • 88

0 Answers0