Cargo Features

swc_plugin_comments has no features set by default.

[dependencies]
swc_plugin_comments = { version = "0.1.2", features = ["plugin-rt", "plugin-mode"] }
plugin-rt

swc/core, which runs plugin

Affects host_comments_storage::HostCommentsStorage

plugin-mode

actual wasm plugin binary

Affects plugin_comments_proxy::PluginCommentsProxy