diff --git a/packages/next-server/index.js b/packages/next-server/index.js new file mode 100644 index 00000000..08697ba7 --- /dev/null +++ b/packages/next-server/index.js @@ -0,0 +1,4 @@ +const Server = require('./dist/server/next-server').default +module.exports = function (opts) { + return new Server(opts) +} diff --git a/packages/next-server/package.json b/packages/next-server/package.json index 38ab5715..62dc836c 100644 --- a/packages/next-server/package.json +++ b/packages/next-server/package.json @@ -1,7 +1,7 @@ { "name": "next-server", "version": "7.0.2-canary.5", - "main": "./dist/server/next-server.js", + "main": "./index.js", "files": [ "dist", "asset.js",