Webpack build produces a bundle (app.js). The bundle contains scripts and styles. In this post, I will show how to analyze the bundle size. Analyze bundle size There is a command to produce build statistics in the form of JSON
The article explains how to do a minimal scaffolding of React application using Webpack. Setup Git. Setup npm. Install packages. Setup babel. Setup Webpack. Define entry. Include bundle. Run application. Setup Git Setup a git repo as follows.
git remote add origin <remoteurl>