Open mgrubinger opened 1 year ago
In a production environment, you should not need node_dependencies from listed in the devDependencies section of your package.json.
devDependencies
NODE_ENV=production npm ci will only install dependencies listed in dependencies of your package.json. devDependencies will not be installed.
NODE_ENV=production npm ci
dependencies
Alternative: use npm ci --omit=dev
npm ci --omit=dev
short: Faster npm ci installs
In a production environment, you should not need node_dependencies from listed in the
devDependencies
section of your package.json.NODE_ENV=production npm ci
will only install dependencies listed independencies
of your package.json.devDependencies
will not be installed.Alternative: use
npm ci --omit=dev