@vercel/build-utils 2.12.3-canary.1 → 2.12.3-canary.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/detect-builders.js +1 -1
- package/dist/index.js +2718 -2476
- package/dist/lambda.d.ts +5 -2
- package/dist/lambda.js +8 -2
- package/dist/prerender.d.ts +3 -1
- package/dist/prerender.js +10 -1
- package/package.json +4 -4
package/dist/detect-builders.js
CHANGED
@@ -746,7 +746,7 @@ function getRouteResult(apiRoutes, dynamicRoutes, outputDirectory, apiBuilders,
|
|
746
746
|
// https://nextjs.org/docs/advanced-features/custom-error-page
|
747
747
|
errorRoutes.push({
|
748
748
|
status: 404,
|
749
|
-
src: '
|
749
|
+
src: '^(?!/api).*$',
|
750
750
|
dest: options.cleanUrls ? '/404' : '/404.html',
|
751
751
|
});
|
752
752
|
}
|