During application development, building parts of your application as modules helps improve reusability, and readability. With the rise of frontend frameworks like React, Angular 2, and Vue that hit on the point of building modules, compiling these modules has become quite essential too.
Full article