Hi there,
Love your tool so far!
I just discovered crunchme because I'd like to compress some JS further beyond what uglify-es/js can do.
However it seems like the compressed js crunchme creates has to be run via a node environment. At least it seemed that way for a quick test I made, where the output was using nodes zlib.
After that, I looked around a bit in the algo directory and discovered there where a few other algorithms you included that appear to have no dependency on node (no require()).
So my questions are:
can I use crunchme with only those other algs (lz77, lzw) that don't rely on node to generate compressed code that runs in the browser?
if that is the case, how would you recommend excluding the algorithms that require node/zlib. By hand in source, or is there a command line flag present?
could I still use the other algos by push the code that has require in it through eg. browserify, or webpack or would they become to huge to make a difference in the end?
I'll try to experiment a bit more with crunchme either way. Thanks for the tool!
Hi there, Love your tool so far! I just discovered crunchme because I'd like to compress some JS further beyond what uglify-es/js can do.
However it seems like the compressed js
crunchme
creates has to be run via a node environment. At least it seemed that way for a quick test I made, where the output was using nodeszlib
. After that, I looked around a bit in thealgo
directory and discovered there where a few other algorithms you included that appear to have no dependency on node (norequire()
).So my questions are:
can I use crunchme with only those other algs (lz77, lzw) that don't rely on node to generate compressed code that runs in the browser?
if that is the case, how would you recommend excluding the algorithms that require node/zlib. By hand in source, or is there a command line flag present?
could I still use the other algos by push the code that has
require
in it through eg. browserify, or webpack or would they become to huge to make a difference in the end?I'll try to experiment a bit more with crunchme either way. Thanks for the tool!