Commit d2cbabba authored by Tim Neutkens's avatar Tim Neutkens

Make next-server expose the same handler function as next

parent e3ef9170
const Server = require('./dist/server/next-server').default
module.exports = function (opts) {
return new Server(opts)
}
{
"name": "next-server",
"version": "7.0.2-canary.5",
"main": "./dist/server/next-server.js",
"main": "./index.js",
"files": [
"dist",
"asset.js",
......
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