rsnext/packages/next/compiled
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
..
amphtml-validator Update ncc (#18823) 2020-11-05 03:30:37 +00:00
arg Update ncc (#18823) 2020-11-05 03:30:37 +00:00
async-retry Update ncc (#18823) 2020-11-05 03:30:37 +00:00
async-sema Update ncc (#18823) 2020-11-05 03:30:37 +00:00
babel ncc Babel inlining (#18768) 2020-11-05 14:23:01 +00:00
babel-loader ncc Babel inlining (#18768) 2020-11-05 14:23:01 +00:00
cacache Update ncc (#18823) 2020-11-05 03:30:37 +00:00
cache-loader Update ncc (#18823) 2020-11-05 03:30:37 +00:00
chalk Update ncc (#18823) 2020-11-05 03:30:37 +00:00
ci-info Update ncc (#18823) 2020-11-05 03:30:37 +00:00
comment-json Update ncc (#18823) 2020-11-05 03:30:37 +00:00
compression Update ncc (#18823) 2020-11-05 03:30:37 +00:00
conf Update ncc (#18823) 2020-11-05 03:30:37 +00:00
content-type Update ncc (#18823) 2020-11-05 03:30:37 +00:00
cookie Update ncc (#18823) 2020-11-05 03:30:37 +00:00
debug ncc Babel inlining (#18768) 2020-11-05 14:23:01 +00:00
devalue Update ncc (#18823) 2020-11-05 03:30:37 +00:00
escape-string-regexp Update ncc (#18823) 2020-11-05 03:30:37 +00:00
etag Update ncc (#18823) 2020-11-05 03:30:37 +00:00
file-loader Update ncc (#18823) 2020-11-05 03:30:37 +00:00
find-cache-dir Update ncc (#18823) 2020-11-05 03:30:37 +00:00
find-up Update ncc (#18823) 2020-11-05 03:30:37 +00:00
fresh Update ncc (#18823) 2020-11-05 03:30:37 +00:00
gzip-size Update ncc (#18823) 2020-11-05 03:30:37 +00:00
http-proxy Update ncc (#18823) 2020-11-05 03:30:37 +00:00
ignore-loader Update ncc (#18823) 2020-11-05 03:30:37 +00:00
is-animated Update ncc (#18823) 2020-11-05 03:30:37 +00:00
is-docker Update ncc (#18823) 2020-11-05 03:30:37 +00:00
is-wsl Update ncc (#18823) 2020-11-05 03:30:37 +00:00
json5 Update ncc (#18823) 2020-11-05 03:30:37 +00:00
jsonwebtoken Update ncc (#18823) 2020-11-05 03:30:37 +00:00
lodash.curry Update ncc (#18823) 2020-11-05 03:30:37 +00:00
lru-cache Update ncc (#18823) 2020-11-05 03:30:37 +00:00
mkdirp Update ncc (#18823) 2020-11-05 03:30:37 +00:00
nanoid Update ncc (#18823) 2020-11-05 03:30:37 +00:00
neo-async Update ncc (#18823) 2020-11-05 03:30:37 +00:00
node-fetch Update ncc (#18823) 2020-11-05 03:30:37 +00:00
ora Update ncc (#18823) 2020-11-05 03:30:37 +00:00
postcss-flexbugs-fixes Update ncc (#18823) 2020-11-05 03:30:37 +00:00
postcss-loader ncc Babel inlining (#18768) 2020-11-05 14:23:01 +00:00
postcss-preset-env Update ncc (#18823) 2020-11-05 03:30:37 +00:00
raw-body Update ncc (#18823) 2020-11-05 03:30:37 +00:00
recast Update ncc (#18823) 2020-11-05 03:30:37 +00:00
resolve Update ncc (#18823) 2020-11-05 03:30:37 +00:00
schema-utils Update ncc (#18823) 2020-11-05 03:30:37 +00:00
semver Update ncc (#18823) 2020-11-05 03:30:37 +00:00
send Update ncc (#18823) 2020-11-05 03:30:37 +00:00
source-map Update ncc (#18823) 2020-11-05 03:30:37 +00:00
string-hash Update ncc (#18823) 2020-11-05 03:30:37 +00:00
strip-ansi Update ncc (#18823) 2020-11-05 03:30:37 +00:00
terser Update ncc (#18823) 2020-11-05 03:30:37 +00:00
terser-webpack-plugin Update ncc (#18823) 2020-11-05 03:30:37 +00:00
text-table Update ncc (#18823) 2020-11-05 03:30:37 +00:00
thread-loader Update ncc (#18823) 2020-11-05 03:30:37 +00:00
unistore Update ncc (#18823) 2020-11-05 03:30:37 +00:00
web-vitals Update ncc (#18823) 2020-11-05 03:30:37 +00:00