Skip to content

Commit

Permalink
remove deleted typing
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Sep 29, 2022
1 parent 7003eed commit ee8f5bf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
7 changes: 0 additions & 7 deletions packages/next/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,6 @@ export default async function getBaseWebpackConfig(
return prev
}, [] as string[])
: []),
// isEdgeServer ? 'next/dist/esm/pages/_app.js' :
'next/dist/pages/_app.js',
]
customAppAliases[`${PAGES_DIR_ALIAS}/_error`] = [
Expand All @@ -798,9 +797,6 @@ export default async function getBaseWebpackConfig(
return prev
}, [] as string[])
: []),
// isEdgeServer
// ? 'next/dist/esm/pages/_error.js'
// :
'next/dist/pages/_error.js',
]
customDocumentAliases[`${PAGES_DIR_ALIAS}/_document`] = [
Expand All @@ -810,9 +806,6 @@ export default async function getBaseWebpackConfig(
return prev
}, [] as string[])
: []),
// isEdgeServer
// ? 'next/dist/esm/pages/_document.js'
// :
'next/dist/pages/_document.js',
]
}
Expand Down
2 changes: 0 additions & 2 deletions packages/next/server/dev/hot-reloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,6 @@ export default class HotReloader {
),
appDir: this.appDir!,
pageExtensions: this.config.pageExtensions,
nextRuntime: 'edge',
}).import
: undefined

Expand Down Expand Up @@ -706,7 +705,6 @@ export default class HotReloader {
),
appDir: this.appDir!,
pageExtensions: this.config.pageExtensions,
nextRuntime: 'nodejs',
})
: relativeRequest,
appDir: this.config.experimental.appDir,
Expand Down
4 changes: 0 additions & 4 deletions test/e2e/app-dir/app-edge/app/page.tsx

This file was deleted.

0 comments on commit ee8f5bf

Please sign in to comment.