Closed pieh closed 1 month ago
File | Before (Size / Gzip) | After (Size / Gzip) |
---|---|---|
Total (Includes all files) | 5.3 MB / 959.2 kB |
5.3 MB / 959.2 kB |
Tarball size | 912.1 kB |
0%↑912.1 kB |
🤖 This report was automatically generated by pkg-size-action
Description
Because of https://github.com/vercel/next.js/pull/70219 and fact that we use peerDependencies react version when using next@canary for our test setups and fact that
@nx/next
doesn't handle^18.2.0 || 19.0.0-rc-<hash>-<date>
as dependency version well (it throws that this is not valid, tho it is), this picks highest version from^18.2.0 || 19.0.0-rc-<hash>-<date>
and use just that instead of entire string to avoid hitting@nx/next
limitationRef: https://github.com/netlify/next-runtime/actions/runs/11120703643/job/30898239310?pr=2636#step:13:239 example of NX failure with current approach