rsnext/packages/next/compiled/webpack
JJ Kasper ece79a4e00
Update test config to leverage swc (#28400)
This updates our `jest` configuration to no longer use `babel-jest` and instead uses `@swc/jest` which is much faster. This also updates to the latest version of `jest`, fixes our `tsconfig.json` used for tests (previously types in `node_modules` weren't resolved correctly), and ensures `next/dist` isn't un-necessarily transpiled in `jest`. 

Timings for `yarn testheadless test/unit/` on CI
- before: 3m 30s - 4m ([example run](https://github.com/vercel/next.js/runs/3394701995))
- after: under 1m ([example run](https://github.com/vercel/next.js/pull/28400/checks?check_run_id=3395161621))

Timings for `yarn testheadless test/unit/` locally on m1 mac 
- before: 90.16 seconds
- after: 29.92 seconds
2021-08-23 18:36:56 +00:00
..
amd-define.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
amd-options.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
BasicEvaluatedExpression.js feat: Implement webpack require hook (#21802) 2021-02-04 08:49:42 +00:00
bundle4.js Update test config to leverage swc (#28400) 2021-08-23 18:36:56 +00:00
bundle5.js upgrade webpack to 5.51.1 (#28291) 2021-08-19 15:32:17 +00:00
empty.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
global.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
GraphHelpers.js feat: Implement webpack require hook (#21802) 2021-02-04 08:49:42 +00:00
harmony-module.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
HotModuleReplacement.runtime.js update webpack to 5.49.0 (#27813) 2021-08-06 12:49:21 +00:00
index.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
JavascriptHotModuleReplacement.runtime.js upgrade to webpack 5.31.0 (#23776) 2021-04-07 18:55:06 +00:00
lazy-compilation-node.js chore: upgrade webpack5 (#21563) 2021-01-26 21:05:58 +00:00
lazy-compilation-web.js chore: upgrade webpack5 (#21563) 2021-01-26 21:05:58 +00:00
LICENSE feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
minify.js update webpack to 5.43.0 (#26979) 2021-07-07 12:00:41 +02:00
module.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
ModuleFilenameHelpers.js feat: Implement webpack require hook (#21802) 2021-02-04 08:49:42 +00:00
NodeEnvironmentPlugin.js feat: Implement webpack require hook (#21802) 2021-02-04 08:49:42 +00:00
NodeTargetPlugin.js feat: Implement webpack require hook (#21802) 2021-02-04 08:49:42 +00:00
NormalModule.js use official mini-css-extract-plugin and experimentalUseImportModule (#24573) 2021-05-12 16:04:01 +00:00
package.js feat: Implement webpack require hook (#21802) 2021-02-04 08:49:42 +00:00
package.json feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
sources.js feat: Implement webpack require hook (#21802) 2021-02-04 08:49:42 +00:00
system.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
webpack-lib.js feat: Implement webpack require hook (#21802) 2021-02-04 08:49:42 +00:00
webpack.d.ts Add webpack type to ncc bundle (#21785) 2021-02-03 16:39:59 +00:00
webpack.js fix: load webpack hook before config is required (#22583) 2021-02-27 06:19:35 +00:00
worker.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00