Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please .npmignore anything that's not needed for production #87

Open
MarcDiethelm opened this issue Sep 27, 2014 · 0 comments
Open

Please .npmignore anything that's not needed for production #87

MarcDiethelm opened this issue Sep 27, 2014 · 0 comments

Comments

@MarcDiethelm
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant