1. Download Coverage Report
Create a coverage report to see which code was downloaded, and which code was actually used for a given entry point of your app.
Download the report and put it in the top level directory of your project. Make sure it's named coverage.json
.
2. Prepare script
Create this file in the top level directory of your project:
build-bundles.js