rolldown_debug_action 0.1.0

Debug action handlers for Rolldown
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(ts_rs::TS, serde::Serialize)]
#[ts(export)]
pub struct HookResolveIdCallEnd {
  #[ts(type = "'HookResolveIdCallEnd'")]
  pub action: &'static str,
  pub resolved_id: Option<String>,
  /// If the value is `true/false`, it means the plugin explicitly returned the value for this field.
  pub is_external: Option<bool>,
  pub plugin_name: String,
  /// The index of the plugin in the plugin list. It's unique to each plugin.
  pub plugin_id: u32,
  #[ts(type = "'automatic' | 'manual'")]
  pub trigger: &'static str,
  pub call_id: &'static str,
}