Skip to content

Commit 7fdc718

Browse files
committed
chore(contrib): Fix build of graphql plugin
1 parent 06d6656 commit 7fdc718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/graphql-codegen-client-preset/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "swc_plugin_graphql_codegen_client_preset.wasm",
66
"scripts": {
77
"prepack": "pnpm run build",
8-
"build": "cargo build --release -p swc_plugin_graphql_codegen_client_preset --target wasm32-wasip1 --release && cp ../../target/wasm32-wasip1/release/swc_plugin_graphql_codegen_client_preset.wasm .",
8+
"build": "cargo build -p swc_plugin_graphql_codegen_client_preset --target wasm32-wasip1 --release && cp ../../target/wasm32-wasip1/release/swc_plugin_graphql_codegen_client_preset.wasm .",
99
"build:debug": "cargo build -p swc_plugin_graphql_codegen_client_preset --target wasm32-wasip1 && cp ../../target/wasm32-wasip1/debug/swc_plugin_graphql_codegen_client_preset.wasm .",
1010
"test": "pnpm run build:debug && cargo test"
1111
},

0 commit comments

Comments
 (0)