LatestJanuary 07, 20253 min read
What I put in .npmignore, and why the package.json files field is usually better
What I actually put in .npmignore (after the time I shipped a 600MB package by accident), why the package.json files field is usually the safer default, and the npm pack –dry-run check that saves you from publishing things you shouldn’t.


