rsnext/packages/next/build/webpack/loaders
JJ Kasper 6f698405dd
Update matched path params priority (#37646)
This ensures we use the correct dynamic route params favoring params from the URL/matched-path over route-matches. This also ensures we properly cache `_next/data` requests client side when the page is not a `getServerSideProps` page. 

x-ref: https://github.com/vercel/next.js/pull/37574

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have 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`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have 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.md#adding-examples)
2022-06-13 13:34:08 +00:00
..
css-loader fix: data url handling in css-loader (#34034) 2022-02-06 11:10:14 -06:00
next-middleware-ssr-loader Remove process.cwd usage from path polyfill (#37130) 2022-05-23 17:56:00 +00:00
next-serverless-loader Update matched path params priority (#37646) 2022-06-13 13:34:08 +00:00
next-style-loader Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
postcss-loader Lazy-load postcss (#31762) 2021-11-25 18:41:20 +01:00
resolve-url-loader Move resolve-url-loader into Next.js (#32932) 2022-01-02 16:16:17 -06:00
error-loader.ts Pre-compile more dependencies continued (#32679) 2021-12-21 16:13:45 +01:00
get-module-build-info.ts Allow Middleware to set its matcher (#37177) 2022-06-03 16:35:44 +00:00
next-app-loader.ts Add Suspense boundary to demo (#37393) 2022-06-02 12:02:05 +02:00
next-client-pages-loader.ts Decouple entries for server components and client components (#36860) 2022-05-13 19:48:53 +02:00
next-flight-client-entry-loader.ts Decouple entries for server components and client components (#36860) 2022-05-13 19:48:53 +02:00
next-flight-client-loader.ts Fix flight loader (#36282) 2022-04-19 20:14:30 +02:00
next-flight-server-loader.ts Decouple entries for server components and client components (#36860) 2022-05-13 19:48:53 +02:00
next-image-loader.js use loader-utils 2 for resolve-url-loader to fix ./data: urls in sass (#31134) 2021-11-08 18:37:25 +00:00
next-middleware-loader.ts chore: narrows regexp to enable middleware source maps (#37582) 2022-06-10 20:22:03 -05:00
next-middleware-wasm-loader.ts Refactor Page Paths utils and Middleware Plugin (#36576) 2022-04-30 11:19:27 +00:00
next-swc-loader.js Add support for browserslist and legacyBrowsers experimental option (#36584) 2022-05-17 15:09:34 +00:00
noop-loader.ts feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
utils.ts Move FlightManifestPlugin to server compilers (#36810) 2022-05-10 21:20:13 +02:00