pierrec / node-lz4

LZ4 fast compression algorithm for NodeJS
MIT License
438 stars 98 forks source link

Use lz4 with requireJS in browser #47

Closed Franziskus1988 closed 7 years ago

Franziskus1988 commented 7 years ago

Hi, I tried to use this lz4 version with requireJS in browser, but I can't get it working. Although I ported the CommmonJS format to amd it complains about missing files. Does the lz4.js in build folder depend on xxhashjs and all the other required files? Do I have to import them, too?

Franziskus1988 commented 7 years ago

Oh. Recognized that require is defined at the top. Issue can be closed.