mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 09:38:16 +03:00
9c176632b1
**Description:** This would improve compile time by a margin, and this is a refactoring that should be done before applying `swc_allocator::boxed::Box` to ES AST. This PR removes `swc_visit_macros` because we now use a simple binary to generate code before publishing. **Related issue:** - Closes https://github.com/swc-project/swc/issues/9101
51 lines
1.5 KiB
TOML
51 lines
1.5 KiB
TOML
[package]
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
build = "build.rs"
|
|
edition = "2021"
|
|
exclude = ["artifacts.json", "index.node"]
|
|
license = "Apache-2.0"
|
|
name = "binding_minifier_node"
|
|
publish = false
|
|
version = "0.1.0"
|
|
|
|
[lib]
|
|
bench = false
|
|
crate-type = ["cdylib"]
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
backtrace = { workspace = true }
|
|
napi = { workspace = true, features = ["napi3", "serde-json"] }
|
|
napi-derive = { workspace = true, features = ["type-def"] }
|
|
node_macro_deps = { path = "../node_macro_deps" }
|
|
path-clean = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true, features = ["unbounded_depth"] }
|
|
sourcemap = { workspace = true }
|
|
tracing = { workspace = true, features = ["release_max_level_info"] }
|
|
tracing-chrome = { workspace = true }
|
|
tracing-futures = { workspace = true }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
|
|
|
|
swc_compiler_base = { workspace = true, features = ["node"] }
|
|
swc_config = { workspace = true }
|
|
swc_core = { workspace = true, features = [
|
|
"allocator_node",
|
|
"common_concurrent",
|
|
"common_sourcemap",
|
|
"ecma_ast",
|
|
"ecma_codegen",
|
|
"ecma_parser",
|
|
"ecma_minifier",
|
|
"ecma_minifier_concurrent",
|
|
"ecma_transforms",
|
|
"ecma_visit",
|
|
] }
|
|
swc_error_reporters = { workspace = true }
|
|
swc_malloc = { workspace = true }
|
|
swc_nodejs_common = { workspace = true }
|