Skip to content

Commit

Permalink
try to integrate lz4-wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
philippotto committed Feb 17, 2022
1 parent 3d9c7a4 commit e1d5065
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
"jsonschema": "^1.2.4",
"jszip": "^3.7.0",
"lodash": "^4.17.21",
"lz4-wasm": "^0.7.5",
"lz4js": "^0.2.0",
"memoize-one": "^4.0.2",
"mini-css-extract-plugin": "^2.5.2",
Expand Down
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ module.exports = function(env = {}) {
};

return {
experiments: {
syncWebAssembly: true,
},
entry: {
main: "main.js",
light: "style_light.js",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8371,6 +8371,11 @@ lru-cache@^6.0.0:
dependencies:
yallist "^4.0.0"

lz4-wasm@^0.7.5:
version "0.7.5"
resolved "https://registry.yarnpkg.com/lz4-wasm/-/lz4-wasm-0.7.5.tgz#1f852bb82d193eb25428048077a5b68173f97018"
integrity sha512-OoZg/zRi5D/ccDAVrsvSmRrbRQeaDJLXJSAIGS90iCEFQJJpeQjXRj39pNDQHIxgqwT3StkthDdqlOKJxXGZZg==

lz4js@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/lz4js/-/lz4js-0.2.0.tgz#09f1a397cb2158f675146c3351dde85058cb322f"
Expand Down

0 comments on commit e1d5065

Please sign in to comment.