mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 09:38:16 +03:00
6fa85b646f
swc_ecma_preset_env: - can inject polyfills automatically - can apply transforms automatically swc: - added env config to .swcrc
40 lines
848 B
TOML
40 lines
848 B
TOML
[workspace]
|
|
|
|
[package]
|
|
name = "swc"
|
|
version = "0.1.0"
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
license = "Apache-2.0/MIT"
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
documentation = "https://swc-project.github.io/rustdoc/swc/"
|
|
description = "Speedy web compiler"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "swc"
|
|
|
|
[dependencies]
|
|
atoms = { package = "swc_atoms", path ="./atoms" }
|
|
common = { package = "swc_common", path ="./common" }
|
|
ecmascript = { package = "swc_ecmascript", path ="./ecmascript" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
failure = "0.1"
|
|
path-clean = "0.1"
|
|
lazy_static = "1"
|
|
hashbrown = "0.6"
|
|
regex = "1"
|
|
either = "1"
|
|
chashmap = "2.2.2"
|
|
sourcemap = "4.1.1 "
|
|
|
|
[dev-dependencies]
|
|
testing = { path = "./testing" }
|
|
walkdir = "2"
|
|
|
|
[[example]]
|
|
name = "usage"
|
|
|
|
[profile.bench]
|
|
codegen-units = 1
|
|
#lto = true |