How to ignore files in your npm package
You can decide what files people get when they download your package in three ways:
1. With the `.gitignore` file
2. With the `.npmignore` file
3. With the `files` property
Today, we’ll look at each method and discuss which methods you should (or shouldn’t) be using.
Here’s the article:
https://zellwk.com/blog/ignoring-files-in-npm-pack…
Enjoy!
Stay awesome,
Zell