mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
017392aa5b
swc_node_bundler: - Add cargo features for versioned apis. node-swc: - Add cargo features for versioned apis.
42 lines
1.2 KiB
TOML
42 lines
1.2 KiB
TOML
[package]
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
build = "build.rs"
|
|
edition = "2018"
|
|
exclude = ["artifacts.json", "index.node"]
|
|
license = "MIT"
|
|
name = "node"
|
|
publish = false
|
|
version = "0.1.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = ["swc_v1"]
|
|
swc_v1 = ["swc_node_bundler/swc_v1", "swc/wrong-target"]
|
|
swc_v2 = ["swc_node_bundler/swc_v2"]
|
|
|
|
[build-dependencies]
|
|
napi-build = {version = "1"}
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
backtrace = "0.3"
|
|
napi = {version = "1", features = ["serde-json"]}
|
|
napi-derive = {version = "1"}
|
|
path-clean = "0.1"
|
|
proc-macro2 = "=1.0.32"
|
|
serde = {version = "1", features = ["derive"]}
|
|
serde_json = {version = "1", features = ["unbounded_depth"]}
|
|
swc = {path = "../swc", features = ["concurrent", "plugin"]}
|
|
swc_atoms = {version = "0.2.4", path = "../swc_atoms"}
|
|
swc_bundler = {path = "../swc_bundler"}
|
|
swc_common = {path = "../swc_common", features = ["sourcemap"]}
|
|
swc_ecma_ast = {path = "../swc_ecma_ast"}
|
|
swc_ecma_loader = {path = "../swc_ecma_loader"}
|
|
swc_ecma_parser = {path = "../swc_ecma_parser"}
|
|
swc_node_base = {path = "../swc_node_base"}
|
|
swc_node_bundler = {path = "../swc_node_bundler"}
|
|
tracing = {version = "0.1.28", features = ["release_max_level_info"]}
|
|
tracing-subscriber = {version = "0.3.2", features = ["env-filter"]}
|