My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to create a server bundle with Webpack for universal rendering

Jakob Lind's photo
Jakob Lind
·Apr 19, 2017

The recipe for setting up a universal rendering in the official Redux docs are good but it lacks one thing: It doesn't describe how to use Webpack for creating a bundle of the server side code. There are boilerplate projects that does it, but they usually do a million other things as well so it's complex to understand how it works.

Follow this step by step tutorial and learn how to use Webpack 2 to create a bundle of your server code.