include .npmignore file
Closed this issue · 3 comments
vajahath commented
We don't have to push ./media
file to npm. right?
demacdonald commented
Correct. You do not need to include anything that is not required for the package to run.
Certain files are excluded by default (ie: .npmrc, .git, etc) and some are included automatically (ie:readme, license, etc).
demacdonald commented
An alternative to it is:
https://docs.npmjs.com/files/package.json#files
Think of .npmrc as a blacklisting of the files to exclude...
We can work in the opposite direction and simply make a whitelist of files to include.