[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Base crate for the 'swc' crate. This is not a public API."
documentation = "https://rustdoc.swc.rs/swc_compiler_base/"
edition = "2021"
include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_compiler_base"
repository = "https://github.com/swc-project/swc.git"
version = "0.17.0"
[features]
node = ["napi", "napi-derive"]
[dependencies]
anyhow = { workspace = true }
base64 = { workspace = true }
once_cell = { workspace = true }
pathdiff = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
sourcemap = { workspace = true }
swc_allocator = { version = "0.1.7", path = "../swc_allocator", default-features = false }
swc_atoms = { version = "0.6.5", path = "../swc_atoms" }
swc_common = { version = "0.37.0", path = "../swc_common", features = [
"sourcemap",
] }
swc_config = { version = "0.1.13", path = "../swc_config" }
swc_ecma_ast = { version = "0.118.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "0.155.0", path = "../swc_ecma_codegen" }
swc_ecma_minifier = { version = "0.202.0", path = "../swc_ecma_minifier" }
swc_ecma_parser = { version = "0.149.0", path = "../swc_ecma_parser" }
swc_ecma_visit = { version = "0.104.0", path = "../swc_ecma_visit" }
swc_timer = { version = "0.25.0", path = "../swc_timer" }
[dependencies.napi-derive]
default-features = false
features = ["type-def"]
optional = true
workspace = true
[dependencies.napi]
default-features = false
features = ["napi3"]
optional = true
workspace = true