rtfeldman / seamless-immutable

Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects.
BSD 3-Clause "New" or "Revised" License
5.37k stars 194 forks source link

Add .npmignore to decrease package size #167

Closed krzysztofpniak closed 7 years ago

krzysztofpniak commented 7 years ago

It is about: https://github.com/rtfeldman/seamless-immutable/issues/150

Adding .npmignore excludes unnecesary files from npm package. It is important to keep packages as small as possible, because in large projects it turns to hell, like having 50k files in node_modules directory.

The beginning of the .npmignore I created contains entries from your .gitignore.

rtfeldman commented 7 years ago

Thanks @krzysztofpniak!