mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
c0d94dc1ac
Added a new `rspack` directory as an independent Rust and pnpm workspace, dedicated to building Next.js Rspack bindings. It shares code with Turbopack through the `next-taskless` crate.
24 lines
474 B
TOML
24 lines
474 B
TOML
[workspace]
|
|
resolver = "2"
|
|
|
|
members = [
|
|
"crates/binding"
|
|
]
|
|
|
|
# Copied from https://github.com/web-infra-dev/rspack/blob/main/Cargo.toml
|
|
|
|
[profile.dev]
|
|
codegen-units = 16
|
|
debug = 2
|
|
incremental = true
|
|
panic = "abort"
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = false
|
|
# Performs “fat” LTO which attempts to perform optimizations across all crates within the dependency graph.
|
|
lto = "fat"
|
|
opt-level = 3
|
|
panic = "abort"
|
|
strip = true
|