react-webpack-generators / generator-react-webpack

Yeoman generator for ReactJS and Webpack
http://newtriks.com/2013/12/31/automating-react-with-yeoman-and-grunt/
MIT License
2.88k stars 355 forks source link

Add `hash` to production bundles file name #217

Open EcutDavid opened 8 years ago

EcutDavid commented 8 years ago

https://webpack.github.io/docs/long-term-caching.html#option-1-one-hash-for-the-bundle

Add this feature can prevent caches from user's browser block our latest bug fix.

weblogixx commented 8 years ago

Hi @EcutDavid,

that would be a nice addition. Will think about it and eventually include it in the default. Thank you!