Skip to content

Commit eda667c

Browse files
authored
Add WASM to package.json exports (#12)
* feat: add WASM binary to exports field * chore: changeset
1 parent 097bcff commit eda667c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/gold-hotels-wait.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@contentauth/c2pa-web': patch
3+
---
4+
5+
Added WASM binary to package.json exports

packages/c2pa-web/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"types": "./dist/index.d.ts",
77
"exports": {
88
"./package.json": "./package.json",
9+
"./resources/c2pa.wasm": "./dist/resources/c2pa_bg.wasm",
910
".": {
1011
"development": "./src/index.ts",
1112
"types": "./dist/index.d.ts",
@@ -23,4 +24,4 @@
2324
"rimraf": "^6.0.1"
2425
},
2526
"scripts": {}
26-
}
27+
}

0 commit comments

Comments
 (0)