[next]: ensure user rewrites match to action outputs (#11628)

The builder normalizes user rewrites that target pages that have special outputs (`.rsc`, `.prefetch.rsc`). When we added support for `.action` outputs, we need to perform this same normalization to ensure that user rewrites still match. If the rewrite was a greedy match (eg `/:path*`) it'd be ok, but more specific rewrites would have the issue.
This commit is contained in:
Zack Tanner
2024-05-23 12:06:25 -07:00
committed by GitHub
parent 139e8cdb17
commit 5f561f8cfa
4 changed files with 50 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
'@vercel/next': patch
---
Ensure user rewrites still match to action outputs