/universal-react-server-bundle

Creating a bundle of your server side code with Webpack 2, and use it in a Universal React application.

Primary LanguageJavaScript

Universal React Server Bundle with Webpack

A minimalistic example of how to create a bundle of your server side code with Webpack 3, and use it in a Universal React application.

Latest updated 2017-09-20

Build

$ npm install
$ npm run build

Run

$ cd dist
$ node server.bundle.js

Go to http://localhost:3000 in your browser