Open chr1shaefn3r opened 2 years ago
update.sh executes npm ci and therefore installs all dependencies including the dev dependencies, which are not needed (hopefully) in the production deployment. Suggestion would be to use npm ci --production to preven this.
update.sh
npm ci
npm ci --production
What is the benefit-cost ratio? 😀
Seriously: sounds sensible. Maybe you can give it a try locally and report your findings?
update.sh
executesnpm ci
and therefore installs all dependencies including the dev dependencies, which are not needed (hopefully) in the production deployment. Suggestion would be to usenpm ci --production
to preven this.