discourse/app
David Taylor 07893779df
DEV: Correct service-worker sourceMappingURL (#15916)
We serve `service-worker.js` in an unusual way, which means that the sourcemap is not available on an adjacent path. This means that the browser fails to fetch the map, and shows an error in the console.

This commit re-writes the source map reference in the static_controller to be an absolute link to the asset (including the appropriate CDN, if enabled), and adds a spec for the behavior.

It's important to do this at runtime, rather than JS precompile time, so that changes to CDN configuration do not require re-compilation to take effect.
2022-02-14 12:47:56 +00:00
..
assets FEATURE: Use new topic-chooser for invite modal (#15884) 2022-02-14 13:43:52 +02:00
controllers DEV: Correct service-worker sourceMappingURL (#15916) 2022-02-14 12:47:56 +00:00
helpers PERF: Update ember-auto-import and webpack (#15919) 2022-02-14 11:21:39 +00:00
jobs DEV: Fix typo. (#15857) 2022-02-08 09:04:53 +08:00
mailers FEATURE: Allow sending group SMTP emails with from alias (#15687) 2022-02-07 13:52:01 +10:00
models DEV: Improve theme error handling UX 2022-02-14 10:11:19 +00:00
serializers FEATURE: Add external_id to topics (#15825) 2022-02-08 20:55:32 -07:00
services DEV: Fix small typo. (#15904) 2022-02-11 11:51:51 +08:00
views PERF: Update ember-auto-import and webpack (#15919) 2022-02-14 11:21:39 +00:00