Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

NodeJS Cartridge Should Only Pull Production Modules #5627

Closed
kevinconaway opened this issue Jul 18, 2014 · 1 comment
Closed

NodeJS Cartridge Should Only Pull Production Modules #5627

kevinconaway opened this issue Jul 18, 2014 · 1 comment

Comments

@kevinconaway
Copy link
Contributor

The NodeJS cartridge currently runs npm install -d when building a NodeJS app.

This pulls in devDependencies as well as the production dependencies which is time consuming and wasteful.

The call should be npm install -d --production

@Filirom1
Copy link
Contributor

Filirom1 commented Aug 4, 2014

There is a Pull Request for this #5215

@danmcp danmcp closed this as completed Aug 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants