Hot module reloading (HMR) allows Webpack to update the code of your Elm application without losing the state. If you have a complex model and have to walk through several steps to get the state exactly as you want it, HMR will save you a significant amount of development time. Use elm-hot-loader to enable it in your Webpack and Elm application.

Once you’re ready to deploy your Elm application to production, Webpack can help you compile the app without the debugger, and minify the final file.