brk_rolldown 0.8.0

Fast JavaScript bundler in Rust, designed for the future of Vite
Documentation
mod asset;
mod ast_scanner;
mod bundle;
mod bundler;
mod bundler_builder;
mod chunk_graph;
mod css;
mod ecmascript;
mod hmr;
mod module_finalizers;
mod module_loader;
mod stages;
mod type_alias;
mod types;
mod utils;
mod watch;
mod watcher;
use std::sync::Arc;

use rolldown_fs::OsFileSystem;
use rolldown_resolver::Resolver;

pub(crate) type SharedResolver = Arc<Resolver<OsFileSystem>>;
pub(crate) type SharedOptions = SharedNormalizedBundlerOptions;

pub use crate::{
  bundle::{
    bundle::Bundle,
    bundle_factory::{BundleFactory, BundleFactoryOptions},
    bundle_handle::BundleHandle,
  },
  bundler::Bundler,
  bundler_builder::BundlerBuilder,
  types::{bundle_output::BundleOutput, bundler_config::BundlerConfig},
  watch::event::{BundleEvent, WatcherEvent},
  watcher::Watcher,
};

pub use rolldown_common::bundler_options::*;

pub use rolldown_resolver::ResolveOptions;

pub use rolldown_plugin as plugin;

#[cfg(feature = "testing")]
pub use crate::utils::determine_minify_internal_exports_default;