mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 03:26:25 +08:00

22a7905f restructured how we load Ember CLI assets in production. Unfortunately, it also broke sourcemaps for those assets. This commit fixes that regression via a couple of changes: - It adds the necessary `.map` paths to `config.assets.precompile` - It swaps Sprockets' default `SourcemappingUrlProcessor` with an extended version which maintains relative URLs of maps