Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
File
[package]name = "aleph-compiler"version = "0.8.2"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.65"base64 = "0.13.0"import_map = "0.12.1"path-slash = "0.2.1"pathdiff = "0.2.1"regex = "1.6.0"serde = { version = "1.0.145", features = ["derive"] }serde_json = "1.0.86"url = "2.3.1"
# parcel csscssparser = "0.29.6"lightningcss = "1.0.0-alpha.35"parcel_sourcemap = "2.1.1"
# swc# docs: https://swc.rs# crate: https://crates.io/search?q=swc_ecmascriptswc_atoms = "0.4.21"swc_common = { version = "0.29.8", features = ["sourcemap", "perf"] }swc_ecmascript = { version = "0.205.22", features = ["codegen", "parser", "utils", "visit"] }swc_ecma_transforms = { version = "0.198.10", features = ["proposal", "typescript", "react", "compat", "optimization" ] }swc_ecma_minifier = "0.159.22"
# 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