Skip to content

Commit 6f7a6fd

Browse files
committed
Add Brotli WASM module imports to package.json
1 parent 9321f44 commit 6f7a6fd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
"browser": "./index.browser.js",
1313
"require": "./index.node.js",
1414
"default": "./index.web.js"
15+
},
16+
"./web": {
17+
"types": "./pkg.web/brotli_wasm.d.ts",
18+
"import": "./pkg.web/brotli_wasm.js",
19+
"default": "./pkg.web/brotli_wasm.js"
20+
},
21+
"./web/bg.wasm": {
22+
"types": "./pkg/brotli_wasm_bg.wasm.d.ts",
23+
"import": "./pkg/brotli_wasm_bg.wasm",
24+
"default": "./pkg/brotli_wasm_bg.wasm"
1525
}
1626
},
1727
"sideEffects": false,

0 commit comments

Comments
 (0)