var next=require('next');var _require=
require('http'),createServer=_require.createServer;
var routes=require("./routes");

var app=next({dev:process.env.NODE_ENV!=='production'});
var handler=routes.getRequestHandler(app);

app.prepare().then(function(){
createServer(handler).listen(3000);
});
//# sourceMappingURL=server.js.map