swc/crates/swc_node_bundler/Cargo.toml
Donny/강동윤 017392aa5b
feat(node-swc): Add cargo feature for v2 (#3019)
swc_node_bundler:
 - Add cargo features for versioned apis.

node-swc:
 - Add cargo features for versioned apis.
2021-12-12 22:52:58 +09:00

47 lines
1.3 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = "build.rs"
description = "Speedy web compiler"
documentation = "https://rustdoc.swc.rs/swc/"
edition = "2018"
license = "Apache-2.0"
name = "swc_node_bundler"
publish = false
repository = "https://github.com/swc-project/swc.git"
version = "0.0.0"
[features]
default = ["swc_v1"]
swc_v1 = []
swc_v2 = []
[dependencies]
anyhow = "1"
dashmap = "4.0.2"
is-macro = "0.1.8"
once_cell = "1"
regex = "1"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
string_enum = {version = "0.3", path = "../string_enum"}
swc = {path = "../swc"}
swc_atoms = {path = "../swc_atoms"}
swc_bundler = {path = "../swc_bundler", features = ["concurrent"]}
swc_common = {path = "../swc_common", features = ["concurrent"]}
swc_ecma_ast = {path = "../swc_ecma_ast"}
swc_ecma_codegen = {path = "../swc_ecma_codegen"}
swc_ecma_loader = {path = "../swc_ecma_loader"}
swc_ecma_parser = {path = "../swc_ecma_parser"}
swc_ecma_transforms = {path = "../swc_ecma_transforms"}
swc_ecma_utils = {path = "../swc_ecma_utils"}
swc_ecma_visit = {path = "../swc_ecma_visit"}
swc_node_base = {path = "../swc_node_base"}
tracing = "0.1.28"
[dev-dependencies]
pretty_assertions = "0.6.1"
pretty_env_logger = "0.3"
tempfile = "3"
testing = {path = "../testing"}
walkdir = "2.3.1"