avatarTobias Koppers

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

918

Abstract

y (Look into cache-loader for a persistent cache of the transpiled source code).</p><p id="b097">Plan for next week:</p><ul><li>Release a new minor webpack version</li><li>Write a documentation page about build performance and all the options/tradeoffs available</li><li>Implement a persistent cache for the Resolver, which is the most expensive part of webpack (much I/O)</li></ul><p id="00cd"><a href="https://readmedium.com/webpack-freelancing-log-book-week-15-30105e94ab51">< week 15</a> <a href="https://readmedium.com/webpack-freelancing-log-book-week-17-48233121afbe">week 17 ></a></p><p id="4534">webpack is not backed by a big company, unlike many other big Open Source products. The development is <a href="https://opencollective.com/webpack">funded by donations</a>. <i>Please consider donating if you depend on webpack… (Ask your boss!)</i></p><p id="18e9">Special thanks to these sponsors: (Top 5)</p

Options

<ul><li><a href="https://www.ag-grid.com/?utm_source=webpack&amp;utm_medium=medium&amp;utm_campaign=sponsorship">ag-Grid</a> (DataGrid) donated a total of $12,500</li><li><a href="https://www.capitalone.com/?utm_source=webpack&amp;utm_medium=medium&amp;utm_campaign=sponsorship">Capital One</a> (Bank) donated a total of $12,000</li><li><a href="https://angularclass.com/?utm_source=webpack&amp;utm_medium=medium&amp;utm_campaign=sponsorship">AngularClass</a> (Training) donated a total of $3,518</li><li><a href="https://angular.io/?utm_source=webpack&amp;utm_medium=medium&amp;utm_campaign=sponsorship">Google Angular</a> (Framework) donated a total of $2,500</li><li><a href="https://opencollective.org/?utm_source=webpack&amp;utm_medium=medium&amp;utm_campaign=sponsorship">OpenCollective</a> (OS funding) donated a total of $2,397</li><li><a href="https://webpack.js.org/">Full list</a></li></ul></article></body>

Performance, PRs and bugfixes (week 16)

2017/07/17–2017/07/23

This week I reviewed and merged a lot for PRs from contributors about bugs and performance improvements. I also fixed a crash in the Scope Hoisting plugin that occurs when using the default export of the root module.

And I spend that rest of the week profiling different webpack builds and improving the performance for these:

  • Rewriting code that uses unshift to push helps scaling when arrays grow.
  • There were some low hanging fruits in the AggressiveSplittingPlugin, so I achieved a large performance boost here.
  • Some smaller improvements in the Resolver implementation.

The performance wins depends heavily on your application. In most apps are transpiliers (typescript, babel) the bottleneck anyway (Look into cache-loader for a persistent cache of the transpiled source code).

Plan for next week:

  • Release a new minor webpack version
  • Write a documentation page about build performance and all the options/tradeoffs available
  • Implement a persistent cache for the Resolver, which is the most expensive part of webpack (much I/O)

< week 15 week 17 >

webpack is not backed by a big company, unlike many other big Open Source products. The development is funded by donations. Please consider donating if you depend on webpack… (Ask your boss!)

Special thanks to these sponsors: (Top 5)

JavaScript
Recommended from ReadMedium