browserify-zlib icon indicating copy to clipboard operation
browserify-zlib copied to clipboard

yarnlock file in npm distribution

Open willnode opened this issue 8 years ago • 1 comments

When cleaning node_modules, I found your module contains 125 KB of yarn.lock file.

Proof:

yarn

Suggest to add that to .npmignore?

willnode avatar Jan 18 '18 01:01 willnode

There is an easy way to get rid of this problematic file. Just use a npm post script. Add this in the package.json of your project:

  "postinstall": "rm -f node_modules/browserify-zlib/yarn.lock",

mojoaxel avatar Oct 30 '25 08:10 mojoaxel