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:
Donny/강동윤 2024-05-21 10:21:27 +09:00 committed by GitHub
parent 36fddb7965
commit ced63a973e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.",
)
}
}