mirror of
https://github.com/swc-project/swc.git
synced 2025-01-01 10:02:51 +03:00
feat(plugin/runner): Add description about wasi and file system (#8963)
**Description:** - x-ref: https://vercel.slack.com/archives/C01QNLABZJ8/p1715816821287309?thread_ts=1715793483.177469&cid=C01QNLABZJ8
This commit is contained in:
parent
36fddb7965
commit
ced63a973e
@ -394,7 +394,9 @@ impl TransformExecutor {
|
||||
.context(
|
||||
"failed to run Wasm plugin transform. Please ensure the version of `swc_core` \
|
||||
used by the plugin is compatible with the host runtime. See https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update \
|
||||
`swc_core` to the compatible version.",
|
||||
`swc_core` to the compatible version.
|
||||
|
||||
Note that if you want to use the os features like filesystem, you need to use `wasi`. Wasm itself does not have concept of filesystem.",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user