This repository has been archived by the owner on May 15, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
c4fe999
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit enables the webpack’s production mode. Corresponding article section
The production mode is a preset of options which is optimized for building apps for production. In our case, it enabled minification, removes development-only code from your dependencies, and more.
Sizes
bundle.js
went down from 1.25 MB to 387 kB.Bundle difference
Here’s the bundle before and after the commit: