2023-09-29 17:48:31 +03:00
|
|
|
[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"
|
2023-11-03 01:20:35 +03:00
|
|
|
version = "0.3.26"
|
2023-09-29 17:48:31 +03:00
|
|
|
|
|
|
|
[features]
|
|
|
|
node = ["napi", "napi-derive"]
|
|
|
|
|
|
|
|
[dependencies]
|
2023-10-02 18:46:14 +03:00
|
|
|
anyhow = "1.0.75"
|
|
|
|
base64 = "0.13.0"
|
|
|
|
pathdiff = "0.2.0"
|
|
|
|
serde = { version = "1.0.188", features = ["derive"] }
|
|
|
|
sourcemap = "6.2"
|
2023-10-08 03:41:50 +03:00
|
|
|
swc_atoms = { version = "0.6.0", path = "../swc_atoms" }
|
2023-10-26 02:01:44 +03:00
|
|
|
swc_common = { version = "0.33.2", path = "../swc_common", features = [
|
2023-10-02 18:46:14 +03:00
|
|
|
"sourcemap",
|
|
|
|
] }
|
|
|
|
swc_config = { version = "0.1.7", path = "../swc_config" }
|
2023-10-26 02:01:44 +03:00
|
|
|
swc_ecma_ast = { version = "0.110.2", path = "../swc_ecma_ast" }
|
2023-11-03 01:20:35 +03:00
|
|
|
swc_ecma_codegen = { version = "0.146.7", path = "../swc_ecma_codegen" }
|
|
|
|
swc_ecma_minifier = { version = "0.189.25", path = "../swc_ecma_minifier" }
|
|
|
|
swc_ecma_parser = { version = "0.141.7", path = "../swc_ecma_parser" }
|
2023-10-26 02:01:44 +03:00
|
|
|
swc_ecma_visit = { version = "0.96.2", path = "../swc_ecma_visit" }
|
2023-10-30 04:41:47 +03:00
|
|
|
swc_timer = { version = "0.21.3", path = "../swc_timer" }
|
2023-09-29 17:48:31 +03:00
|
|
|
|
|
|
|
[dependencies.napi-derive]
|
|
|
|
default-features = false
|
|
|
|
features = ["type-def"]
|
|
|
|
optional = true
|
|
|
|
version = "2.0.0"
|
|
|
|
|
|
|
|
[dependencies.napi]
|
|
|
|
default-features = false
|
|
|
|
features = ["napi3"]
|
|
|
|
optional = true
|
|
|
|
version = "2.0.0"
|