It seems like the root issue there was that the default uglifyOptions are not right for Elm, so @rupert gave a recommendation of how to make those options match the recommended script here:
But it looked like the author ended up using a “separate plugin” for Elm code such that the same uglify options were not used on JS code from different origins:
Curious to hear what the root cause was if you figure this out!