mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
538f3f68e9
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`
24 lines
466 B
TOML
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]
|