Skip to content

Commit

Permalink
Merge pull request #754 from arobsn/develop
Browse files Browse the repository at this point in the history
Export WASM binding TS types
  • Loading branch information
SethDusek authored Jun 28, 2024
2 parents e8ec43f + 2ea6375 commit 519ec21
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bindings/ergo-lib-wasm/scripts/set_exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ const {
const newPackageJson = {
...oldPackageJson,
type: "module",
main: "./ergo_lib_wasm.js",
exports: {
".": "./ergo_lib_wasm",
".": {
types: "./ergo_lib_wasm.d.ts",
import: "./ergo_lib_wasm.js",
require: "./ergo_lib_wasm.js",
},
},
};

Expand Down

0 comments on commit 519ec21

Please sign in to comment.