A proper fix would involve it being precompiled like other assets, but due to the conditional nature of the resource this is more complicated. For now this is better than IE being broken.
This core plugin, which could be split off in the future, allows us to load IE specific code on demand. Co-authored-by: jjaffeux <j.jaffeux@gmail.com>