mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
76de51333d
swc_common: - Add `NoopComments`. - Implement `Comments` for `Option<C>` where C: `Comments`. - Add some helper methods to `Comments`. - Deprecate `CommentsExt`. swc_ecma_transforms_base: - `resolver`: Handle `TsImportEqualsDecl`. swc_ecma_transforms_react: - Reduce useless cloning using `Arc`. - Expose API for parsing directives like `@jsxPragma`. swc_ecma_transforms_typescript: - Accept `pragma` and `pragmaFrag`. - Support jsx directives. - Preserve jsx-related imports. swc: - Optimize `SwcComments`. - Run`resolver` before everything else.
35 lines
1.2 KiB
TOML
35 lines
1.2 KiB
TOML
[package]
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
description = "preset-env for the swc"
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_preset_env/"
|
|
edition = "2018"
|
|
license = "Apache-2.0/MIT"
|
|
name = "swc_ecma_preset_env"
|
|
version = "0.53.0"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
ahash = "0.7.4"
|
|
dashmap = "4.0.2"
|
|
indexmap = "1.6.2"
|
|
once_cell = "1.2.0"
|
|
semver = {version = "0.9.0", features = ["serde"]}
|
|
serde = {version = "1", features = ["derive"]}
|
|
serde_json = "1"
|
|
st-map = "0.1.2"
|
|
string_enum = {version = "0.3.1", path = "../../macros/string_enum"}
|
|
swc_atoms = {version = "0.2", path = "../../atoms"}
|
|
swc_common = {version = "0.13.0", path = "../../common"}
|
|
swc_ecma_ast = {version = "0.54.0", path = "../ast"}
|
|
swc_ecma_transforms = {version = "0.82.0", path = "../transforms", features = ["compat", "proposal"]}
|
|
swc_ecma_utils = {version = "0.47.0", path = "../utils"}
|
|
swc_ecma_visit = {version = "0.40.0", path = "../visit"}
|
|
walkdir = "2"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "0.6"
|
|
swc_ecma_codegen = {version = "0.74.0", path = "../codegen"}
|
|
swc_ecma_parser = {version = "0.73.0", path = "../parser"}
|
|
testing = {version = "0.14.0", path = "../../testing"}
|