fob-bundler 0.2.4

Fob bundler - Rolldown-based bundling on top of fob foundation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Bundler-specific analysis types.

use std::sync::Arc;

use fob_graph::{AnalysisResult, CacheAnalysis, TransformationTrace};

use crate::BundleOutput;
use crate::builders::asset_registry::AssetRegistry;

/// Analysis result combined with bundle output.
pub struct AnalyzedBundle {
    pub bundle: BundleOutput,
    pub analysis: AnalysisResult,
    pub cache: CacheAnalysis,
    pub trace: Option<TransformationTrace>,
    /// Asset registry containing discovered static assets
    pub asset_registry: Option<Arc<AssetRegistry>>,
}