swc/ecmascript/preset-env/Cargo.toml
강동윤 4cd43375a5
feat(swc): Add import resolvers (#1834)
swc_ecma_loader:
 - Add `Resolve`. 
 - Add `TsConfigResolver`. 

swc_ecma_transforms_module:
 - Use `Resolve` for remapping import paths.
 - Add `ImportResolver`.
 - Add `NodeImprortResolver`.

swc:
 - Add `paths` to `.swcrc`.
 - Use `paths`. (#379, #702)
 - Canonicalize file names.
2021-06-24 06:32:09 +00:00

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.25.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dashmap = "4.0.2"
fxhash = "0.2.1"
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.10.16", path = "../../common"}
swc_ecma_ast = {version = "0.46.0", path = "../ast"}
swc_ecma_transforms = {version = "0.55.0", path = "../transforms", features = ["compat", "proposal"]}
swc_ecma_utils = {version = "0.37.2", path = "../utils"}
swc_ecma_visit = {version = "0.32.1", path = "../visit"}
walkdir = "2"
[dev-dependencies]
pretty_assertions = "0.6"
swc_ecma_codegen = {version = "0.59.1", path = "../codegen"}
swc_ecma_parser = {version = "0.60.2", path = "../parser"}
testing = {version = "0.10.5", path = "../../testing"}