import config from 'shared/configs'
import path from 'path';
import express from 'express';

import webpack from 'webpack';
import webpackConfig from '../../webpack/webpack.config.dev.js';

import serverRendering from './serverRendering';

const app = express();

app.use(express.static(path.join(process.cwd(), 'static')));

app.use(serverRendering);

app.listen(config.port, function (err) {
  if (err) {
    console.log(err);
    return;
  }
  console.log('Server listening on', config.port);
});
@@ -89,106 +89,8 @@
 s';%0A
-%0Aimport webpack from 'webpack';%0Aimport webpackConfig from '../../webpack/webpack.config.dev.js';%0A%0A
 impo
@@ -158,17 +158,16 @@
 ress();%0A
-%0A
 app.use(
@@ -219,17 +219,16 @@
 ic')));%0A
-%0A
 app.use(

remove unused code