Skip to main content

rolldown/
lib.rs

1mod ast_scanner;
2mod bundle;
3mod bundler;
4mod bundler_builder;
5mod chunk_graph;
6mod ecmascript;
7mod hmr;
8mod module_finalizers;
9mod module_loader;
10mod stages;
11mod type_alias;
12mod types;
13mod utils;
14use std::sync::Arc;
15
16use rolldown_resolver::Resolver;
17
18pub(crate) type SharedResolver<Fs> = Arc<Resolver<Fs>>;
19pub(crate) type SharedOptions = SharedNormalizedBundlerOptions;
20
21pub use crate::{
22  bundle::{
23    bundle::Bundle,
24    bundle_factory::{BundleFactory, BundleFactoryOptions},
25    bundle_handle::BundleHandle,
26  },
27  bundler::Bundler,
28  bundler_builder::BundlerBuilder,
29  types::{bundle_output::BundleOutput, bundler_config::BundlerConfig},
30};
31
32pub use rolldown_common::bundler_options::*;
33
34pub use rolldown_resolver::ResolveOptions;
35
36pub use rolldown_plugin as plugin;
37
38#[cfg(feature = "testing")]
39pub use crate::utils::determine_minify_internal_exports_default;