Analyzing your build output
Inside your build output, you’ll find different JavaScript files. Some of these files are your application bundles, which the browser will load to render the application for the end user. The size of these bundles directly impacts the performance of your application. JavaScript is slow to load for a browser, so the bigger your bundle size, the longer it takes for the browser to download the files, render something on the screen, and make the web page respond so that the user can interact with it.
To reduce your bundle sizes, you need an effective way to analyze your bundles. If you run the build
command for the finance-expenses-registration
project, you’ll see a small report inside the terminal
The build report inside your terminal includes a list of the created bundles and the size of each bundle. While this list gives you some indication of the size of your bundles, you don’t see what the bundles are made up of and where you...