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

chore: whitelist files published to npm #139

Merged
merged 1 commit into from
Apr 16, 2019

Conversation

codepunkt
Copy link
Contributor

There's some files published to npm that don't have to.
node_modules is slow enough as-is, so i'd encourage everyone to not publish files that are not used anyway.

I added a files whitelist to package.json to ignore the github configuration and test files.

An alternative would've been .npmignore, but once that exists, the .gitignore is ignored - so i'd rather do whitelisting via files than blacklisting via .gitignore.

@swyxio swyxio merged commit 0074b4c into netlify:master Apr 16, 2019
@codepunkt codepunkt deleted the npm_file_whitelist branch April 17, 2019 11:22
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

Successfully merging this pull request may close these issues.

2 participants