forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/canary' into babel-turbo-mode
* origin/canary: (36 commits) Fixed issue accessing index page of "with-reason-relay" example (vercel#23780) upgrade to webpack 5.31.0 (vercel#23776) Add note about prefetching (vercel#23732) v10.1.4-canary.2 Ensure no-op export returns without error (vercel#23752) Update to with-supertokens example (vercel#23728) Ensure fallback rewrites dont match over pages with i18n (vercel#23674) Ensure basePath is not applied for external GSSP redirect (vercel#23673) Fix webpack5 cache distDir (vercel#23718) v10.1.4-canary.1 Stop mutating `resolvedAsPath` (vercel#23705) Font optimization (vercel#21676) v10.1.4-canary.0 Ensure default fallback values are correct with i18n (vercel#23675) Fix: Codeblock Syntax Highlighting (vercel#23545) fix with-mqtt-js example. (vercel#23636) fix with-styled-jsx-plugins example. (vercel#23635) fix with-web-worker example. (vercel#23634) fixes a part of vercel#23607 remove with-glamor example (vercel#23639) v10.1.3 ... # Conflicts: # packages/next/package.json # yarn.lock
- Loading branch information
Showing
133 changed files
with
1,811 additions
and
1,811 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 0 additions & 70 deletions
70
docs/api-reference/next.config.js/eslint-warnings-errors.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
module.exports = { | ||
async rewrites() { | ||
return [ | ||
// we need to define a no-op rewrite to trigger checking | ||
// all pages/static files before we attempt proxying | ||
{ | ||
source: '/:path*', | ||
destination: '/:path*', | ||
}, | ||
{ | ||
source: '/:path*', | ||
destination: `https://custom-routes-proxying-endpoint.vercel.app/:path*`, | ||
}, | ||
] | ||
return { | ||
fallback: [ | ||
{ | ||
source: '/:path*', | ||
destination: `https://custom-routes-proxying-endpoint.vercel.app/:path*`, | ||
}, | ||
], | ||
} | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.