ctrlplusb / react-universally

A starter kit for universal react applications.
MIT License
1.7k stars 244 forks source link

Add HardSourceWebpackPlugin for better build times #571

Closed williamoliveira closed 6 years ago

williamoliveira commented 6 years ago

Easy 3x faster build times (even more on slow machines, I got 5x improvements at the default boilerplate and 16x in a large project of mine)

Some numbers here: https://github.com/mzgoddard/hard-source-webpack-plugin/issues/251

Note: cant be used for production builds right now cause of an issue with OfflinePlugin used for the Service Worker in this project

oyeanuj commented 6 years ago

@williamoliveira Curious why you closed it? Didn't work out too well?

williamoliveira commented 6 years ago

I was having this issue https://github.com/mzgoddard/hard-source-webpack-plugin/issues/301

Looks like fixed now, maybe I will give it another try