You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): Fix plugin target as wasm32-wasip1 (#10293)
**Description:**
Fixed the error where the target type behavior was inconsistent with the [documentation](https://swc.rs/docs/plugin/ecmascript/getting-started#create-a-project) when creating a plugin using CLI. Now `wasm32-wasip1` can be used normally as a target.
```shell
❯ cargo run -p swc_cli_impl -- plugin new --target-type wasm32-wasip1 my-first-plugin
Running `target\debug\swc.exe plugin new --target-type wasm32-wasip1 my-first-plugin`
✅ Successfully created my-first-plugin.
If you haven't, please ensure to add target via "rustup target add wasm32-wasip1"
```
**Related issue:**
- Closes#10284
0 commit comments