1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! Build APIs for Fob's unified bundling interface.
//!
//! This module provides a single, flexible entry point for all bundling operations
//! through the `BuildOptions` struct and `build()` function.
//!
//! # Examples
//!
//! ```no_run
//! use fob_bundler::BuildOptions;
//!
//! # async fn example() -> fob_bundler::Result<()> {
//! // Library mode: externalize dependencies
//! let result = BuildOptions::library("./src/index.ts")
//! .build()
//! .await?;
//!
//! // Bundle everything
//! let result = BuildOptions::new("./src/index.js")
//! .bundle(true)
//! .build()
//! .await?;
//!
//! // App with code splitting
//! let result = BuildOptions::app(["./src/main.js", "./src/admin.js"])
//! .outdir("dist")
//! .build()
//! .await?;
//! # Ok(())
//! # }
//! ```
pub
pub
pub
// Asset handling modules
// Re-export public API
pub use ;
pub use DtsOptions;
pub use plugin;