When an Elm file is compiled, the Elm runtime gets extracted into the same file. Let's call this file app.js
from now on. When even one single byte is changed in app.js
, the hash changes, resulting in the client to download the file all over again, even though only one byte changed. Is there a way to extract the Elm runtime into a separate vendor
(or commons
) chunk?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With