Skip to content

Commit 121abdc

Browse files
committed
fix: build node wasm not bundled up (#226)
Signed-off-by: Allain Magyar <[email protected]> (cherry picked from commit 48e78e3)
1 parent 0c159f7 commit 121abdc

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

package-lock.json

+8-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
"outputName": "junit.xml"
181181
},
182182
"dependencies": {
183-
"@atala/apollo": "^1.2.16",
183+
"@atala/apollo": "~1.2.16",
184184
"@scure/bip32": "^1.3.0",
185185
"@scure/bip39": "^1.1.1",
186186
"@stablelib/base64": "^1.0.1",

rollup/rollup.node.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ const nodePlugins = [
1515
preventAssignment: true,
1616
values: {
1717
'didcomm_js_bg.wasm': "../node-wasm/didcomm.wasm",
18-
'anoncreds_bg.wasm': "../node-wasm/anoncreds.wasm",
18+
'anoncreds_wasm_bg.wasm': "../node-wasm/anoncreds.wasm",
1919
}
2020
}),
2121
copy({
2222
targets: [
23-
{ src: "./externals/generated/anoncreds-wasm-node/anoncreds_bg.wasm", dest: "build/node-wasm", rename: "anoncreds.wasm" },
23+
{ src: "./externals/generated/anoncreds-wasm-node/anoncreds_wasm_bg.wasm", dest: "build/node-wasm", rename: "anoncreds.wasm" },
2424
{ src: "./externals/generated/didcomm-wasm-node/didcomm_js_bg.wasm", dest: "build/node-wasm", rename: 'didcomm.wasm' },
2525
],
2626
}),

0 commit comments

Comments
 (0)