rsnext/test
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
..
.stats-app Update stats-config for new polyfills location (#15584) 2020-07-28 15:58:13 +00:00
acceptance Fix precompiled code (#18093) 2020-10-21 18:43:39 +00:00
eslint-plugin-next Eslint preload (#16199) 2020-08-20 19:34:12 +00:00
integration ncc Babel inlining (#18768) 2020-11-05 14:23:01 +00:00
isolated Remove the static optimization indicator (#18629) 2020-11-02 09:27:36 +01:00
lib Ensure redirects are handled properly from cache (#18806) 2020-11-04 22:18:44 +00:00
package-managers-tests/basic-pnpm Resolve to real path before checking for path inequality (#17279) 2020-10-14 13:36:59 +02:00
unit Fix router not working on some protocol (#16650) 2020-11-03 16:18:02 -05:00
.babelrc Include all files in Prettier (#17050) 2020-09-14 02:53:19 +00:00
.gitignore Universal Webpack (#3578) 2018-01-30 16:44:44 +01:00
jest-environment.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
jest-global-setup.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
jest-global-teardown.js Update CI/test set up (#9499) 2019-11-25 13:19:45 -05:00
jest-setup-after-env.js Only retry tests on CI (#12998) 2020-05-17 12:10:02 -04:00
test-file.txt Add additional file serving tests (#12479) 2020-05-04 11:58:19 -05:00
tsconfig.json Update tsconfig for tests 2020-01-21 15:29:39 -06:00