mirror of
https://github.com/discourse/discourse.git
synced 2025-06-15 05:26:43 +08:00

We will be moving towards `type="module"` for all of Discourse's JS bundles in the near future. This commit makes a start by applying the change to translation bundles. This was previously merged, but the lack of `apply_cdn_headers` on the locales controller led to CORS errors on sites with CDNs.