Rapidly Develop and Deploy Elm Applications

The Elm compiler is a critical tool for developing Elm applications. However, our current development cycle suffers from a couple of drawbacks. First, the development feedback loop is slow. You have to manually recompile code and refresh the browser to see changes. Second, your application isn’t exactly production-ready. Your compiled JavaScript code is unoptimized in its current state, and it’s not minified. Elm offers ways to optimize compiled code but it doesn’t minify. Minification is a process that removes extra bytes from JavaScript code by removing insignificant whitespace, shortening variable names, and eliminating dead code. Unminified code adds extra download time to browsers due to the extra ...

Get Programming Elm now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.