universal-react-server-bundle icon indicating copy to clipboard operation
universal-react-server-bundle copied to clipboard

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

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