mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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
|