Skip to content

Commit

Permalink
readded prebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorezz committed Nov 13, 2024
1 parent b3dce99 commit 2604fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "eslint .",
"preview": "vite preview",
"_predev": "npm run build_wasm && cp src/generated/wasm_exec.js public/ && cp src/generated/main.wasm public/",
"_prebuild": "npm run build_wasm && npm run build_licenses",
"prebuild": "npm run build_wasm && npm run build_licenses",
"build_licenses": "mkdir -p src/generated && tsx scripts/genLicenseList.ts src/generated/licenses.json",
"build_wasm": "cp \"$(go env GOROOT)/misc/wasm/wasm_exec.js\" public && GOOS=js GOARCH=wasm go build -o public/main.wasm src/wasm/main.go",
"serve": "rm -rf dist; npm run build && http-server dist",
Expand Down

0 comments on commit 2604fdf

Please sign in to comment.