Skip to main content
Go to Latest
File
[package]name = "aleph-compiler"version = "0.8.4"description = "The compiler of Aleph.js written in Rust."repository = "https://github.com/alephjs/aleph.js"authors = ["The Aleph.js authors"]license = "MIT"edition = "2021"
[lib]crate-type = ["cdylib", "rlib"]
[dependencies]anyhow = "1.0.68"base64 = "0.21.0"import_map = "0.14.0"path-slash = "0.2.1"pathdiff = "0.2.1"regex = "1.7.1"serde = { version = "1.0.152", features = ["derive"] }serde_json = "1.0.91"url = "2.3.1"
# parcel csscssparser = "0.29.6"lightningcss = "1.0.0-alpha.39"parcel_sourcemap = "2.1.1"
# swc# docs: https://swc.rs# crate: https://crates.io/search?q=swc_ecmascriptswc_atoms = "0.4.33"swc_common = { version = "0.29.27", features = ["sourcemap", "perf"] }swc_ecmascript = { version = "0.212.5", features = ["codegen", "parser", "utils", "visit"] }swc_ecma_transforms = { version = "0.203.2", features = ["proposal", "typescript", "react", "compat", "optimization" ] }swc_ecma_minifier = "0.165.4"
# wasm-bindgen# docs: https://rustwasm.github.io/docs/wasm-bindgenwasm-bindgen = { version = "0.2.83", features = ["serde-serialize"] }serde-wasm-bindgen = "0.4.5"console_error_panic_hook = { version = "0.1.7", optional = true }js-sys = "0.3.60"
[features]default = ["console_error_panic_hook"]
[profile.release]# less code to include into binarypanic = 'abort'# optimization over all codebase (better optimization, slower build)codegen-units = 1# optimization for size (more aggressive)opt-level = 'z'# link time optimization using using whole-program analysislto = true