swc/spack/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

43 lines
1.2 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = "build.rs"
description = "Speedy web compiler"
documentation = "https://rustdoc.swc.rs/swc/"
edition = "2018"
license = "Apache-2.0/MIT"
name = "spack"
publish = false
repository = "https://github.com/swc-project/swc.git"
version = "0.0.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1"
dashmap = "4.0.2"
is-macro = "0.1.8"
log = "0.4.8"
once_cell = "1"
regex = "1"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
string_enum = {version = "0.3", path = "../macros/string_enum"}
swc = {path = "../"}
swc_atoms = {path = "../atoms"}
swc_bundler = {path = "../bundler"}
swc_common = {path = "../common", features = ["concurrent"]}
swc_ecma_ast = {path = "../ecmascript/ast"}
swc_ecma_codegen = {path = "../ecmascript/codegen"}
swc_ecma_parser = {path = "../ecmascript/parser"}
swc_ecma_transforms = {path = "../ecmascript/transforms"}
swc_ecma_utils = {path = "../ecmascript/utils"}
swc_ecma_visit = {path = "../ecmascript/visit"}
swc_node_base = {path = "../node/base"}
[dev-dependencies]
pretty_assertions = "0.6.1"
pretty_env_logger = "0.3"
tempfile = "3"
testing = {path = "../testing"}
walkdir = "2.3.1"