rsnext/packages/next/build/webpack/plugins
Shu Ding 6d4f263121
Improved bundling strategy for the server graph (#40739)
This PR changes the external module resolution to eagerly bundle
node_modules, and some specific Next.js internal modules, if on the
`WEBPACK_LAYERS.server` layer. While resolving corresponding packages,
we use the `react-server` export condition (fallbacks to default).

A follow-up PR will be adding a Next.js option to opt-out specific
packages from being bundled on the server layer.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the
feature request has been accepted for implementation before opening a
PR.
- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-09-21 20:45:33 +02:00
..
terser-webpack-plugin Set swcMinify as an attribute on terser-webpack-plugin-optimize span (#37416) 2022-06-06 15:09:33 +00:00
wellknown-errors-plugin Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
app-build-manifest-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
build-manifest-plugin.ts App Build Stats (#38884) 2022-08-10 19:31:01 +00:00
copy-file-plugin.ts use loader-utils 2 for resolve-url-loader to fix ./data: urls in sass (#31134) 2021-11-08 18:37:25 +00:00
css-minimizer-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
flight-client-entry-plugin.ts Improved bundling strategy for the server graph (#40739) 2022-09-21 20:45:33 +02:00
flight-manifest-plugin.ts Use resolved url in flight entry loader (#40697) 2022-09-20 10:40:27 +00:00
font-stylesheet-gathering-plugin.ts Adding experimentalAdjustFallback feature to font optimization (#40185) 2022-09-16 14:13:21 -07:00
jsconfig-paths-plugin.ts Add handling for auto installing TypeScript deps and HMRing tsconfig (#39838) 2022-08-23 13:16:47 -05:00
middleware-plugin.ts Fix edge wasm handling during deploy (#40625) 2022-09-16 15:56:43 -07:00
mini-css-extract-plugin.ts use official mini-css-extract-plugin and experimentalUseImportModule (#24573) 2021-05-12 16:04:01 +00:00
next-drop-client-page-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
next-trace-entrypoints-plugin.ts Use realpath when emitting traced package.json (#39683) 2022-08-18 17:07:34 +01:00
nextjs-require-cache-hot-reloader.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
pages-manifest-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
profiling-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
react-loadable-plugin.ts Bypass empty pages folder for layouts (#40132) 2022-09-03 00:13:47 +00:00
serverless-plugin.ts update serverless plugin to use webpack 5 apis (#31058) 2021-11-06 01:19:25 +01:00
subresource-integrity-plugin.ts Subresource Integrity for App Directory (#39729) 2022-09-08 15:17:15 -07:00
telemetry-plugin.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00