NateTheGreatt / bitECS

Functional, minimal, data-oriented, ultra-high performance ECS library written in JavaScript
Mozilla Public License 2.0
902 stars 83 forks source link

NPM distribuable contains external binaries #3

Closed ooflorent closed 3 years ago

ooflorent commented 3 years ago

I think something went wrong when publishing the package. core-ecs folder has been included into the NPM distribuable and contains many binaries (~25MB).

https://unpkg.com/browse/bitecs@0.1.1/core-ecs/node_modules/uWebSockets.js/

To prevent this, you could specify the files field in package.json.

NateTheGreatt commented 3 years ago

thanks for catching that, will fix. we use this in a larger project and apparently took some deps from it lol

NateTheGreatt commented 3 years ago

@ooflorent bitECS v0.1.2 published with a fix for this. thanks again for bringing this to my attention!