Skip to content

Commit aaaa019

Browse files
committed
Fix common js imports
1 parent b4e5469 commit aaaa019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next/src/server/next.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function createServer(options: NextServerOptions): NextServer {
251251
}
252252

253253
// Support commonjs `require('next')`
254-
// module.exports = createServer
254+
module.exports = createServer
255255
// exports = module.exports
256256

257257
// Support `import next from 'next'`

0 commit comments

Comments
 (0)