mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
## What #83074 migrated us to use `inventory` for registration, this obsoleted the build scripts and `register` functions. So, delete them! ## Why? Simplification, keeping registration and definition next to each other will make it easier to maintain. I was also optimistic about build performance. unscientifically i ran `cargo clean` and then timed `pnpm turbo build-native` with and without this PR (closed VSCode and other copies of rustc) CHANGE: real 3m30.220s user 34m41.703s sys 1m44.112s HEAD: real 3m31.017s user 34m47.691s sys 1m47.096s 😢 So yeah, not much of an effect, im guessing the build.rs scripts had good parallelism in the build or were just dwarfed by wasmer
29 lines
483 B
TOML
29 lines
483 B
TOML
[package]
|
|
name = "turbopack-swc-utils"
|
|
version = "0.1.0"
|
|
description = "TBD"
|
|
license = "MIT"
|
|
edition = "2024"
|
|
autobenches = false
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
turbo-rcstr = { workspace = true }
|
|
turbo-tasks = { workspace = true }
|
|
turbopack-core = { workspace = true }
|
|
|
|
swc_core = { workspace = true, features = [
|
|
"base",
|
|
"common",
|
|
"common_concurrent",
|
|
"common_sourcemap",
|
|
] }
|
|
|