JSV icon indicating copy to clipboard operation
JSV copied to clipboard

Please .npmignore anything that's not needed for production

Open MarcDiethelm opened this issue 11 years ago • 0 comments

I'm pretty sure tests are not needed in production. :) They just bloat project dependencies, install time, use bandwidth, etc.

You could either use the package.json files property to whitelist files for production or .npmignore to blacklist unneeded ones.

For more info on .npmignore and an automatic generator see https://github.com/inikulin/dmn

MarcDiethelm avatar Sep 27 '14 12:09 MarcDiethelm