This let us focus our search, and work out where the easiest wins were. I created the Speed Measure Plugin for webpack, which we used to analyse the performance of our plugins and loaders. This really helps to find your current bottlenecks, and compare your progress as you make changes. But, we also made some changes that haven’t been commonly mentioned anywhere else - so I want to discuss them here. We followed these articles very closely, and used a lot of their suggestions. build performance (on the webpack wiki).0–100 in two seconds - speed up webpack (by gvidon).There are already some great articles that discuss ways to increase build speed. Eventually, we snapped and decided to get that build time way down. As is always the case given the speed of development, our webpack config grew organically, and the speed of the pipeline was an after-thought.īut there came a tipping point. ![]() It’s only so often you can wait 5 whole seconds for your build to apply your color: blue to color: red change…Īt Onfido, we use webpack as our module bundler. GitHub □ Speeding Up Webpack Seven 3 second changes to reduce build time by 77% Posted on 28 March 2018 by Stephen Cook.
0 Comments
Leave a Reply. |