swc_ecma_loader 0.46.1

General ecmascript loader used for transforms
Documentation
[package]
authors       = ["강동윤 <kdy1997.dev@gmail.com>"]
description   = "General ecmascript loader used for transforms"
documentation = "https://rustdoc.swc.rs/swc_ecma_loader/"
edition       = "2021"
license       = "Apache-2.0"
name          = "swc_ecma_loader"
repository    = "https://github.com/swc-project/swc.git"
version       = "0.46.1"

  [package.metadata.docs.rs]
  all-features = true
  rustdoc-args = ["--cfg", "docsrs"]

[lib]
bench = false

[features]
default = []

cache = ["lru", "parking_lot"]
# Enable node js resolver
node = ["normpath", "serde_json", "dashmap", "once_cell", "path-clean"]
# Enable support for `paths` of tsconfig.json
tsc = ["dashmap", "once_cell", "swc_cached"]

[dependencies]
anyhow      = { workspace = true }
dashmap     = { workspace = true, optional = true }
lru         = { workspace = true, optional = true }
once_cell   = { workspace = true, optional = true }
parking_lot = { workspace = true, optional = true }
path-clean  = { version = "=0.1.0", optional = true }
pathdiff    = { workspace = true }
serde       = { workspace = true, features = ["derive"] }
serde_json  = { workspace = true, optional = true }
tracing     = { workspace = true }

swc_atoms  = { version = "0.6.5", path = "../swc_atoms" }
swc_cached = { version = "0.3.19", optional = true, path = "../swc_cached" }
swc_common = { version = "0.34.0", path = "../swc_common" }

[dev-dependencies]
lazy_static = { workspace = true }

[target.'cfg(windows)'.dependencies]
normpath = { version = "0.2", optional = true }