rsnext/packages/next/telemetry
Guy Bedford 64850a8348
ncc Babel inlining (#18768)
This adds inlining for Babel and the Babel plugins used in next.

This is based to the PR at https://github.com/vercel/next.js/pull/18823.

The approach is to make one large bundle and then separate out the individual packages from that in order to avoid duplications.

In the first attempt the Babel bundle size was 10MB... using "resolutions" in the Yarn workspace to reduce the duplicated packages this was brought down to a 2.8MB bundle for Babel and all the used plugins which is exactly the expected file size here.

This will thus add a 2.8MB download size to the next package, but save downloading any babel dependencies separately, removing a large number of package dependencies from the overall install.
2020-11-05 14:23:01 +00:00
..
events ncc Babel inlining (#18768) 2020-11-05 14:23:01 +00:00
anonymous-meta.ts is-docker, is-wsl 2020-03-30 16:26:25 -04:00
ci-info.ts Disable cache warning on supported platforms (#12495) 2020-05-05 11:04:57 -04:00
post-payload.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
project-id.ts Do Not Rely on Module State (#8968) 2019-10-10 13:18:07 -04:00
storage.ts Read process.env after loading .env files (#13087) 2020-05-20 03:39:27 +00:00