Skip to content

Commit

Permalink
chore: auto generate go_wasm.js
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Aug 7, 2023
1 parent 62d22a2 commit 372b207
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
go.work

lib.wasm
*.tgz
*.tgz
go_wasm.js
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"go_wasm": "cp $(tinygo env TINYGOROOT)/targets/wasm_exec.js ./go_wasm.js",
"patch": "git apply ./go_wasm.patch",
"build": "tinygo build -o=lib.wasm -target=wasm -no-debug -stack-size=24kb ./src/lib.go",
"postbuild": "npm run go_wasm && npm run patch",
"test": "node --test"
},
"engines": {
Expand Down

0 comments on commit 372b207

Please sign in to comment.