rsnext/test/integration/invalid-middleware-matchers
Sean Massa 3003bff6fa
ensure original matcher source is free of mutations (#47980)
In a previous PR (https://github.com/vercel/next.js/pull/46753), the
`originalSource` was saved to be passed along through the build process.
This was done a bit too late in the flow, which made `originalSource`
include some transformations.

Because `originalSource` is used for display purposes, we need it
unmodified. This PR preserves `originalSource`.
2023-04-12 16:55:45 +02:00
..
pages feat(next): Support has match and locale option on middleware config (#39257) 2022-08-31 11:23:30 -05:00
test ensure original matcher source is free of mutations (#47980) 2023-04-12 16:55:45 +02:00