react-material-admin-template icon indicating copy to clipboard operation
react-material-admin-template copied to clipboard

webpack-hot-middleware

Open pmirandaarias opened this issue 7 years ago • 0 comments

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.

pmirandaarias avatar May 03 '17 19:05 pmirandaarias