mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-11 04:22:13 +00:00
[routing-utils] Add missing 'middlewareRawSrc' to route schema (#9564)
Need to add `middlewareRawSrc` to route schema so the build container will accept the new property. This PR blocks https://github.com/vercel/vercel/pull/9435. Linear: https://linear.app/vercel/issue/VCCLI-411/display-uncompressed-edge-middleware-matcher-show-the-list-of-matches
This commit is contained in:
@@ -155,6 +155,12 @@ export const routesSchema = {
|
||||
},
|
||||
middleware: { type: 'number' },
|
||||
middlewarePath: { type: 'string' },
|
||||
middlewareRawSrc: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'string',
|
||||
},
|
||||
},
|
||||
has: hasSchema,
|
||||
missing: hasSchema,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user