Skip to content

Instantly share code, notes, and snippets.

@hyperh
Created December 5, 2016 03:03
Show Gist options
  • Select an option

  • Save hyperh/f66f1178462aff89758a619783e90a51 to your computer and use it in GitHub Desktop.

Select an option

Save hyperh/f66f1178462aff89758a619783e90a51 to your computer and use it in GitHub Desktop.
import express from 'express';
import webpack from 'webpack';
const render = require('../dist/assets/SSR');
const app = express();
app.get('/', render.default);
const port = 3000;
app.listen(port);
console.log(`Listening on port ${port}`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment