swc/Cargo.toml
2021-11-10 19:00:54 +09:00

33 lines
576 B
TOML

[workspace]
members = [
"css",
"css/stylis",
"crates/swc_ecmascript",
"crates/swc_ecma_plugin_ast",
"crates/swc_babel_compat",
"crates/jsdoc",
"crates/node",
"crates/swc_plugin",
"crates/swc_plugin_runner",
"crates/swc_plugin_testing",
"crates/wasm",
]
[profile.release]
codegen-units = 1
lto = "fat"
# debug = true
# opt-level = 'z'
[profile.bench]
codegen-units = 1
debug = true
# Without this, printing diff consumes more than a minute.
[profile.dev.package.pretty_assertions]
opt-level = 3
[profile.test.package.pretty_assertions]
opt-level = 3