Skip to content

Commit

Permalink
Use nodejs as target for wasm-pack build
Browse files Browse the repository at this point in the history
Otherwise it outputs ESM style imports
  • Loading branch information
hansott committed Oct 3, 2024
1 parent 5db348c commit f52c993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/wasm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install wasm-pack
run: cargo install wasm-pack
- name: Build with wasm-pack
run: wasm-pack build --scope aikidosec
run: wasm-pack build --scope aikidosec --target nodejs
- name: Get the version
id: get_version
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\/v/}
Expand Down

0 comments on commit f52c993

Please sign in to comment.