Skip to content

Commit

Permalink
Merge branch 'canary' into x-modern-next-head-new
Browse files Browse the repository at this point in the history
  • Loading branch information
devknoll committed May 13, 2021
2 parents b0b4bc6 + 22e3f8c commit 7127c01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/api-reference/next.config.js/rewrites.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ module.exports = {
return {
beforeFiles: [
// These rewrites are checked after headers/redirects
// and before pages/public files which allows overriding
// page files
// and before all files including _next/public files which
// allows overriding page files
{
source: '/some-page',
destination: '/somewhere-else',
Expand Down
1 change: 0 additions & 1 deletion packages/next/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ export default async function getBaseWebpackConfig(
/next[\\/]dist[\\/]next-server[\\/]lib/,
/next[\\/]dist[\\/]client/,
/next[\\/]dist[\\/]pages/,
/[\\/](strip-ansi|ansi-regex)[\\/]/,
]

// Support for NODE_PATH
Expand Down

0 comments on commit 7127c01

Please sign in to comment.