Skip to content

Commit 61b9e79

Browse files
committed
fix: enable wasm feature for wasm-pack targets
1 parent 9934439 commit 61b9e79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ build:
3030

3131
## Build the WebAssembly package (artifact goes to ./pkg).
3232
wasm-build:
33-
$(WASM_PACK) build --release --target nodejs
33+
$(WASM_PACK) build --release --target nodejs -- --features wasm
3434

3535
## Execute wasm-bindgen tests under Node.js (wasm32 target).
3636
test-wasm:
37-
$(WASM_PACK) test --node -- --package kite_sql --lib
37+
$(WASM_PACK) test --node -- --features wasm --package kite_sql --lib
3838

3939
## Run the sqllogictest harness against the configured .slt suite.
4040
test-slt:

0 commit comments

Comments
 (0)