rsnext/packages/next/compiled/webpack
Guy Bedford 234e1c9601
feat: Implement webpack require hook (#21802)
This implements the compatibility require hook as per https://github.com/vercel/next.js/issues/21789.

The hook is applied at the point of webpack initialization. In addition the separate packages are exposed for the various webpack subrequires.

The test then ensures instance equality for the basic require hook from the next.js config file.

I suspect this might have bad interactions with Yarn Pnp support, but maybe we will be lucky.
2021-02-04 08:49:42 +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 feat: Implement webpack require hook (#21802) 2021-02-04 08:49:42 +00:00
bundle5.js chore: upgrade webpack5 (#21563) 2021-01-26 21:05:58 +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 feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
index.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
JavascriptHotModuleReplacement.runtime.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05: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 feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
worker.js feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00