guerrerocarlos / CacheP2P

"More users = More capacity"
http://www.cachep2p.com/
MIT License
865 stars 52 forks source link

Please provide a non-minimized version #15

Closed Quix0r closed 8 years ago

Quix0r commented 8 years ago

A minimized version is good for performance (much lesser code to load) but harder for humans to read (+ understand consequently). Please consider providing a non-minimized version and maybe use some OpenSource tool to build the minimized version (it should be ignored in .gitignore then as everybody can build it on their own).

DanielSidhion commented 8 years ago

The non-minimized version is the index.js file. If you look at package.json, you'll notice that the "build" script is the one that actually generates the minimized version (using open source tools). I don't know why the minimized version is also included in the git repository, but this shouldn't be a problem, as you'll mostly ignore it and work in the index.js file.

Quix0r commented 8 years ago

Ah, okay. I was not aware of it. Sorry fot the noise. :-)

deckar01 commented 8 years ago

I have seen projects that prefer a webpacked, but not minified release. They want to be able to audit the final script without having to build it manually.