webpack freelancing log book (week 8)


This week nothing exciting happend…

I continued working on Scope Hoisting, doing some bigger tests, trying to fix the bug reported by an early tester.

I also added a reporting feature which reports why modules doesn’t get optimized:


Using this you will see how to optimize your bundle for better Scope Hoisting. I probably use this feature to report other optimization bailouts too, but for now it only reports Scope Hoisting bailouts.

Most (harmony) bailouts I come across was the ProvidePlugin. Modules affected by this plugin can’t be concatenated.

Don’t use the ProvidePlugin except for shimming.

Other bailouts include CommonJS modules, but this was expected.

Other big topic I cared about this week was finishing the document for the CSS plan. This is a separate document you can find here:


It’s mostly an internal document. A separate post will be made for the user-facing changes.

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)