We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1f113 commit 18b14d7Copy full SHA for 18b14d7
packages/next/next-server/server/next-server.ts
@@ -66,7 +66,7 @@ export default class Server {
66
quiet: boolean
67
nextConfig: NextConfig
68
distDir: string
69
- pagesDir: string
+ pagesDir?: string
70
publicDir: string
71
pagesManifest: string
72
buildId: string
@@ -97,7 +97,6 @@ export default class Server {
97
this.dir = resolve(dir)
98
this.quiet = quiet
99
const phase = this.currentPhase()
100
- this.pagesDir = findPagesDir(this.dir)
101
this.nextConfig = loadConfig(phase, this.dir, conf)
102
this.distDir = join(this.dir, this.nextConfig.distDir)
103
this.publicDir = join(this.dir, CLIENT_PUBLIC_FILES_PATH)
0 commit comments