rafaelhz / react-material-admin-template

A simple responsive admin template using react and material-ui
633 stars 269 forks source link

webpack-hot-middleware #15

Open pmirandaarias opened 7 years ago

pmirandaarias commented 7 years ago

According to https://github.com/glenjamin/webpack-hot-middleware

  1. Add the following plugins to the plugins array:

plugins: [ // OccurenceOrderPlugin is needed for webpack 1.x only new webpack.optimize.OccurenceOrderPlugin(), new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin() ] Occurence ensures consistent build hashes, hot module replacement is somewhat self-explanatory, no errors is used to handle errors more cleanly.

react-material-admin-template use "webpack": "1.13.1", the OccurenceOrderPlugin isn't in the webpack config files.