Skip to content

Commit 2e1089d

Browse files
committed
Remove render server adapter
1 parent 165caad commit 2e1089d

9 files changed

Lines changed: 202 additions & 278 deletions

File tree

packages/next/src/server/config.ts

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,15 +1809,13 @@ export default async function loadConfig(
18091809
}
18101810

18111811
// Original implementation continues below...
1812-
if (!process.env.__NEXT_PRIVATE_RENDER_WORKER) {
1813-
try {
1814-
loadWebpackHook()
1815-
} catch (err) {
1816-
// this can fail in standalone mode as the files
1817-
// aren't traced/included
1818-
if (!process.env.__NEXT_PRIVATE_STANDALONE_CONFIG) {
1819-
throw err
1820-
}
1812+
try {
1813+
loadWebpackHook()
1814+
} catch (err) {
1815+
// this can fail in standalone mode as the files
1816+
// aren't traced/included
1817+
if (!process.env.__NEXT_PRIVATE_STANDALONE_CONFIG) {
1818+
throw err
18211819
}
18221820
}
18231821

packages/next/src/server/dev/hot-reloader-turbopack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import { deleteCache } from './require-cache'
4141
import {
4242
clearAllModuleContexts,
4343
clearModuleContext,
44-
} from '../lib/render-server'
44+
} from '../web/sandbox/context'
4545
import { denormalizePagePath } from '../../shared/lib/page-path/denormalize-page-path'
4646
import { trace } from '../../trace'
4747
import {

packages/next/src/server/lib/render-server.ts

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)