Unverified Commit 22e3f8c2 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

docs(rewrites.md): update beforeFiles note (#25113)

This updates the beforeFiles rewrites note to mention the rewrites can affect `_next` files which are required for loading pages client-side. 

## Documentation / Examples

- [x] Make sure the linting passes
parent 7cb00b84
...@@ -58,8 +58,8 @@ module.exports = { ...@@ -58,8 +58,8 @@ module.exports = {
return { return {
beforeFiles: [ beforeFiles: [
// These rewrites are checked after headers/redirects // These rewrites are checked after headers/redirects
// and before pages/public files which allows overriding // and before all files including _next/public files which
// page files // allows overriding page files
{ {
source: '/some-page', source: '/some-page',
destination: '/somewhere-else', destination: '/somewhere-else',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment