Commit 1e940745 authored by Petra Jaros's avatar Petra Jaros Committed by Tim Neutkens

Fix `import next from "next"` (#9216)

parent fa5fb97c
...@@ -19,6 +19,7 @@ function createServer(options: NextServerConstructor): Server { ...@@ -19,6 +19,7 @@ function createServer(options: NextServerConstructor): Server {
// Support commonjs `require('next')` // Support commonjs `require('next')`
module.exports = createServer module.exports = createServer
exports = module.exports
// Support `import next from 'next'` // Support `import next from 'next'`
export default createServer export default createServer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment