Skip to content

Commit

Permalink
rename file names
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Dec 3, 2021
1 parent 3dc8ce5 commit f213e90
Show file tree
Hide file tree
Showing 8 changed files with 2,752 additions and 2,752 deletions.
2 changes: 1 addition & 1 deletion packages/next/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ export default async function build(

const root = path.parse(dir).root
const serverResult = await nodeFileTrace(
[require.resolve('next/dist/server/next-node-server')],
[require.resolve('next/dist/server/next-server')],
{
base: root,
processCwd: dir,
Expand Down
2 changes: 1 addition & 1 deletion packages/next/build/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ export async function copyTracedFiles(
`
process.env.NODE_ENV = 'production'
process.chdir(__dirname)
const NextServer = require('next/dist/server/next-node-server').default
const NextServer = require('next/dist/server/next-server').default
const http = require('http')
const path = require('path')
Expand Down
Loading

0 comments on commit f213e90

Please sign in to comment.