mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 20:58:48 +00:00
chore(justfile): add wasm build commands
This commit is contained in:
parent
2fd0968f95
commit
2aba5beadb
1 changed files with 6 additions and 0 deletions
6
justfile
6
justfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue