mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 16:10:02 -04:00
Add rewriter:build command, and add message for when rewriter build completes successfully
This commit is contained in:
parent
d4abce1457
commit
a375e46dea
2 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"build": "rspack build",
|
||||
"rewriter:build": "cd rewriter && sh build.sh && cd ..",
|
||||
"dev": "node server.js",
|
||||
"prepublish": "pnpm build",
|
||||
"pub": "pnpm publish --no-git-checks --access public",
|
||||
|
|
|
@ -12,3 +12,4 @@ time wasm-opt -Oz --vacuum --dce --enable-threads --enable-bulk-memory --enable-
|
|||
echo -n "self.WASM = '" > static/wasm.js
|
||||
base64 -w0 < "rewriter/out/optimized.wasm" >> static/wasm.js
|
||||
echo -n "';">> static/wasm.js
|
||||
echo "Rewriter Build Complete!"
|
Loading…
Add table
Add a link
Reference in a new issue