swc/native/Cargo.toml
Nayeem Rahman 3cdb62bfd8
bundler: Improve hook for import.meta (#1195)
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
2020-11-02 15:22:21 +09:00

39 lines
1008 B
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"]
[build-dependencies]
napi-build = "0.2.1"
[dependencies]
anyhow = "1"
backtrace = "0.3"
fxhash = "0.2"
napi = {version = "0.5.0", features = ["serde-json"]}
napi-derive = "0.5.0"
path-clean = "0.1"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
spack = {path = "../spack"}
swc = {path = "../"}
swc_atoms = {version = "0.2.4", path = "../atoms"}
swc_bundler = {path = "../bundler"}
swc_common = {path = "../common", features = ["tty-emitter", "sourcemap"]}
swc_ecma_ast = {path = "../ecmascript/ast"}
swc_ecma_parser = {path = "../ecmascript/parser"}
[target.'cfg(all(unix, not(target_env = "musl")))'.dependencies]
jemallocator = {version = "0.3", features = ["disable_initial_exec_tls"]}
[target.'cfg(windows)'.dependencies]
mimalloc = {version = "0.1"}