LongYinan
|
98d7ee3a06
|
Add libc fields to Linux platform packages (#35354)
Related: https://github.com/yarnpkg/berry/pull/3981
With `yarn 3.2` +, developers will install one less package on the Linux platform
|
2022-03-16 09:19:42 -04:00 |
|
Steven
|
6f10d94d90
|
Revert "Reduce install size for linux glibc/musl (#32850)" (#32973)
This reverts commit a5fab84840 .
Co-authored-by: JJ Kasper <jj@jjsweb.site>
|
2022-01-03 18:47:48 -06:00 |
|
Steven
|
a5fab84840
|
Reduce install size for linux glibc/musl (#32850)
In Next.js [12.0.1](
https://packagephobia.com/result?p=next@12.0.1), musl support was added which caused linux to install both glibc and musl binaries.
This PR adds the `install` script to prevent installing unused binaries, reducing the install size by 47MB.
We originally thought this could be added to Node.js core and thus npm but [it was rejected](https://github.com/nodejs/node/pull/41338).
Note getReport() works on Node.js [`>=11.8.0`](https://nodejs.org/api/process.html#processreportgetreporterr) which is safe to use since Next.js requires [`"node": ">=12.22.0"`](265f71e225/packages/next/package.json (L280) ).
|
2022-01-03 21:17:46 +00:00 |
|
Maia Teegarden
|
a79d4fc366
|
Extract next-swc Rust code into its own package (#31635)
Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
|
2021-11-21 12:59:56 +01:00 |
|