Files
Niklas Mischkulnig 538f3f68e9 Bump swc to v77 (#97407)
There have been breaking changes to the AST:
- `BlockStmtOrExpr` is now `ArrowFunctionBody`
- function bodies are `FunctionBody` instead of `BlockStmt`
- JSX text literals are `Wtf8Atom`, instead of `Atom`
2026-09-02 16:09:18 +02:00

24 lines
466 B
TOML

# build using
# RUSTFLAGS= cargo build --target wasm32-wasip1 --release && cp target/wasm32-wasip1/release/swc_plugin_env_check.wasm ../
[package]
name = "swc-plugin-env-check"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[profile.release]
strip = "debuginfo"
codegen-units = 1
lto = true
opt-level = "z"
[dependencies]
serde = "1.0.173"
serde_json = "1.0.103"
swc_core = { version = "77", features = ["ecma_plugin_transform"] }
[workspace]