Skip to content

Commit

Permalink
chore(justfile): add wasm build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed May 26, 2024
1 parent 2fd0968 commit 2aba5be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ test-transform *args='':
oxlint:
cargo build --release --bin oxlint --features allocator

watch-wasm:
cargo watch --no-vcs-ignores -i 'npm/oxc-wasm/**' -- just build-wasm

build-wasm:
wasm-pack build --out-dir npm/oxc-wasm --target web --dev --scope oxc crates/oxc_wasm

# Generate the JavaScript global variables. See `tasks/javascript_globals`
javascript-globals:
cargo run -p javascript_globals
Expand Down

0 comments on commit 2aba5be

Please sign in to comment.