Skip to content

Commit

Permalink
Make dist dir and use release build
Browse files Browse the repository at this point in the history
  • Loading branch information
noClaps committed Jan 3, 2025
1 parent 900801b commit 8a7a900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: |
mkdir dist/
bun run build --target wasm32-wasip1
ls -al .
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@noclaps/highlight-win32-x64-msvc": "^0.3.2"
},
"scripts": {
"build": "napi build --platform --js ./dist/index.js --dts ./dist/index.d.ts",
"build": "napi build --platform --release --js ./dist/index.js --dts ./dist/index.d.ts",
"bump": "bunx changelogen --bump && bun bump-version.ts"
},
"napi": {
Expand Down

0 comments on commit 8a7a900

Please sign in to comment.