[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = "build.rs"
description = "Very fast ecmascript bundler"
documentation = "https://rustdoc.swc.rs/swc_bundler/"
edition = "2021"
include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"]
license = "Apache-2.0"
name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git"
version = "5.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
concurrent = ["swc_common/concurrent", "dashmap", "rayon", "indexmap/rayon"]
default = []
[dependencies]
anyhow = { workspace = true }
crc = { workspace = true }
dashmap = { workspace = true, optional = true }
indexmap = { workspace = true }
is-macro = { workspace = true }
once_cell = { workspace = true }
parking_lot = { workspace = true }
petgraph = { workspace = true }
radix_fmt = { workspace = true }
rayon = { workspace = true, optional = true }
relative-path = { workspace = true }
tracing = { workspace = true }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "4.0.0", path = "../swc_common" }
swc_ecma_ast = { version = "4.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "4.0.0", path = "../swc_ecma_codegen" }
swc_ecma_loader = { version = "4.0.0", path = "../swc_ecma_loader" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
swc_ecma_transforms_base = { version = "5.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_optimization = { version = "5.0.0", path = "../swc_ecma_transforms_optimization" }
swc_ecma_utils = { version = "5.0.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "4.0.0", path = "../swc_ecma_visit" }
swc_fast_graph = { version = "5.0.0", path = "../swc_fast_graph/" }
swc_graph_analyzer = { version = "4.0.0", path = "../swc_graph_analyzer/" }
[dev-dependencies]
hex = { workspace = true }
ntest = { workspace = true }
path-clean = "1.0.1"
reqwest = { workspace = true, features = ["blocking"] }
sha1 = { workspace = true }
tempfile = { workspace = true }
url = { workspace = true }
swc_ecma_loader = { version = "4.0.0", path = "../swc_ecma_loader", features = [
"node",
"cache",
] }
swc_ecma_minifier = { version = "5.0.0", path = "../swc_ecma_minifier", features = [
"concurrent",
] }
swc_ecma_transforms_proposal = { version = "5.0.0", path = "../swc_ecma_transforms_proposal" }
swc_ecma_transforms_react = { version = "5.0.0", path = "../swc_ecma_transforms_react" }
swc_ecma_transforms_typescript = { version = "5.0.0", path = "../swc_ecma_transforms_typescript" }
swc_malloc = { version = "1.0.0", path = "../swc_malloc" }
testing = { version = "4.0.0", path = "../testing" }