mirror of
https://github.com/swc-project/swc.git
synced 2024-12-02 12:05:54 +03:00
0e30deba1a
swc_ecma_minifier: - Enable some sequential merging if `collapse_vars` is set. - Enable sequential merging for top level items. - `if_return`: Don't inject `void` if it's not exact function body. (#2072) - `sequences`: Add some condition for aborting. (#2078) swc_ecma_utils: - Add `collect_decls`. - Add `collect_decls_with_ctxt`. swc_ecma_transforms_optimization: - `inline_globals`: Don't replace if a binding exists. (#1294)
45 lines
1.5 KiB
TOML
45 lines
1.5 KiB
TOML
[package]
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
description = "EcmaScript code minifier."
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_minifier/"
|
|
edition = "2018"
|
|
include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"]
|
|
license = "Apache-2.0/MIT"
|
|
name = "swc_ecma_minifier"
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
version = "0.20.2"
|
|
|
|
[features]
|
|
debug = []
|
|
|
|
[dependencies]
|
|
fxhash = "0.2.1"
|
|
indexmap = "1.7.0"
|
|
log = "0.4"
|
|
once_cell = "1.5.2"
|
|
pretty_assertions = {version = "0.6.1", optional = true}
|
|
rayon = "1.5.1"
|
|
regex = "1.5.3"
|
|
retain_mut = "0.1.2"
|
|
serde = {version = "1.0.118", features = ["derive"]}
|
|
serde_json = "1.0.61"
|
|
serde_regex = "1.1.0"
|
|
swc_atoms = {version = "0.2", path = "../../atoms"}
|
|
swc_common = {version = "0.11.6", path = "../../common"}
|
|
swc_ecma_ast = {version = "0.49.4", path = "../ast"}
|
|
swc_ecma_codegen = {version = "0.66.3", path = "../codegen"}
|
|
swc_ecma_parser = {version = "0.66.4", path = "../parser"}
|
|
swc_ecma_transforms = {version = "0.65.1", path = "../transforms/", features = ["optimization"]}
|
|
swc_ecma_transforms_base = {version = "0.26.3", path = "../transforms/base"}
|
|
swc_ecma_utils = {version = "0.41.2", path = "../utils"}
|
|
swc_ecma_visit = {version = "0.35.2", path = "../visit"}
|
|
unicode-xid = "0.2.2"
|
|
|
|
[dev-dependencies]
|
|
ansi_term = "0.12.1"
|
|
anyhow = "1"
|
|
pretty_assertions = "0.6.1"
|
|
swc_node_base = {version = "0.2.2", path = "../../node/base"}
|
|
testing = {version = "0.12.2", path = "../../testing"}
|
|
walkdir = "2.3.1"
|