rolldown_common/hmr/
hmr_patch.rs

1use super::hmr_boundary_output::HmrBoundaryOutput;
2
3#[derive(Debug)]
4pub struct HmrPatch {
5  pub code: String,
6  pub filename: String,
7  pub sourcemap: Option<String>,
8  pub sourcemap_filename: Option<String>,
9  pub hmr_boundaries: Vec<HmrBoundaryOutput>,
10}