rolldown_debug_action 0.1.0

Debug action handlers for Rolldown
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(ts_rs::TS, serde::Serialize)]
#[ts(export)]
pub struct HookRenderChunkStart {
  #[ts(type = "'HookRenderChunkStart'")]
  pub action: &'static str,
  pub plugin_name: String,
  /// The index of the plugin in the plugin list. It's unique to each plugin.
  pub plugin_id: u32,
  pub call_id: &'static str,
  pub content: String,
}