umd build depended on unix machines
domagojk opened this issue · comments
Currently, for creating umd bundled script this script is used:
browserify lib/index.js -o dist/recycle.js -s recycle && echo \"recycle = recycle.default;\" >> dist/recycle.js
Making recycle
object to be recycle.default
is clearly a hack 😳
Any suggestions how to do this properly?
Using webpack seemed an overkill for this, but maybe I'm wrong?
Pull requests are welcome! :)