© Vasan Subramanian 2017

Vasan Subramanian, Pro MERN Stack, 10.1007/978-1-4842-2653-7_7

7. Modularization and Webpack

Vasan Subramanian

(1)Bangalore, Karnataka, India

In this chapter, we’ll take a break from regular coding and adding features. Instead, we’ll get a bit organized so that the application can grow bigger, yet be manageable. The focus will be on development tools.

The goal of this chapter is to be able to split the code into multiple files, both on the server and the client side. Despite this, we should be able to continue the development process as before: automatically restart or rebuild whenever files change, except that this would be any file. Further, we’ll even get the browser to refresh automatically when files change during development. ...

Get Pro MERN Stack: Full Stack Web App Development with Mongo, Express, React, and Node now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.