Closed arenevier closed 3 years ago
I've modified index.js and then ran node ./build_browser_version.js
Please let me know if I need to perform another step to build the project.
Hm, you are changing files in the dist
folder without changing the actual source? On the next run of build_browser_version.js
(which generates the files in dist
from the actual source), your changes will be overwritten.
You should most probably do your changes in snappy_compressor.js
and snappy_decompressor.js
and then run build_browser_version.js
to update the files in the dist
folder
TypedArray.slice is not supported in IE
Currently, snappyjs compress method throws in IE
In this patch, if TypedArray.slice isn't defined, we use new Uint8Array(Array.prototype.slice.call(compressed, 0, length));