rsnext/packages/next/compiled/webpack
Dale Bustad c2dfe40296
Babel fast mode (#23760)
@timneutkens it'd be great to get your input.

These changes introduce a new Babel loader that eliminates much of the existing overhead, resulting in better HMR speeds. 
 Multithreading is still in flight, and may be omitted if speed improvements end up being negligible.  For now, the new loader is hidden behind an `experimental` flag.

Items to be completed before this PR is ready to merge:

- [x] reconfigure `ncc` to precompile the parts of `@babel/core` and `@babel/traverse` that we're accessing directly
- [x] change `@babel/core/...` imports to `ncc`ed version
- [x] ~~measure multithreading (not currently pushed) functionality, and include the functionality depending on the results~~ I'll open a separate PR for this
- [x] ensure TypeScript is happy with all imports as final step (`--no-verify` was used to bypass)

There will be two follow-up PRs:
- loader support for projects with custom `.babelrc`
- multithreaded loader (should the change we warranted after measurement)
2021-04-08 12:03:02 +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 Babel fast mode (#23760) 2021-04-08 12:03:02 +00:00
bundle5.js upgrade to webpack 5.31.0 (#23776) 2021-04-07 18:55:06 +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 upgrade to webpack 5.31.0 (#23776) 2021-04-07 18:55:06 +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 feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05: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
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