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 HookResolveIdCallStart {
  #[ts(type = "'HookResolveIdCallStart'")]
  pub action: &'static str,
  pub importer: Option<String>,
  pub module_request: String,
  pub import_kind: String,
  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,
}