Skip to content

Commit

Permalink
Fix import next from "next"
Browse files Browse the repository at this point in the history
  • Loading branch information
Peeja committed Oct 30, 2019
1 parent acf7d0a commit 074e090
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/server/next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function createServer(options: NextServerConstructor): Server {

// Support commonjs `require('next')`
module.exports = createServer
exports = module.exports

// Support `import next from 'next'`
export default createServer

0 comments on commit 074e090

Please sign in to comment.