lean / phaser-es6-webpack

A bootstrap project for create games with Phaser + ES6 + Webpack.
MIT License
1.28k stars 316 forks source link

Updated webpack config to inject hash in production && optimized html #43

Closed RenaudRohlinger closed 6 years ago

RenaudRohlinger commented 6 years ago

Hello !

I needed to add a hash on my js files to force the cache to be updated in my game in production so I wanted to share this config with you guys.

I didn't changed the way this bootstrap project works.

If the modifications are wrong with how this repo works just inform me and I'll change it.

Soon I'll add a config to optimized assets if you think this kind of config are useful, otherwise just close this pull request.

lean commented 6 years ago

Thanks you @RenaudROHLINGER. You did a great contribution!