rolldown_common 1.2.16

This crate is mostly for sharing code between rolldwon crates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use arcstr::ArcStr;

#[derive(Debug)]
pub struct HmrLazyChunkOutput {
  pub code: String,
  pub filename: String,
  /// The chunk's sourcemap, when `sourcemap` is `File` or `Hidden`. The consumer
  /// serves it under `sourcemap_filename`, which is what the chunk's
  /// `sourceMappingURL` refers to.
  pub sourcemap: Option<String>,
  pub sourcemap_filename: Option<String>,
  /// `(stable id, render-time stamp)` for every module this chunk carries — the
  /// pending-payload entry that the delivery-time ship-map write consumes
  /// (`DevEngine::notify_payload_delivered`).
  pub carried: Vec<(ArcStr, u32)>,
}