discourse/app/views/static
David Taylor e8f4433872
DEV: Stop using sprockets to compile service-worker js (#31796)
The service worker isn't served via normal asset paths or the CDN.
Instead, the ERB was being compiled by sprockets, fished out of the
`public/` directory by the static_controller, and then the
sprockets-specific stuff like `sourceMappingUrl` was being removed.

Instead, we can put the ERB under `views/static/`, and have it evaluate
at runtime. There are only a couple of super-cheap interpolations, plus
the route is cached in nginx, so there is no performance concern.

This takes us one step closer to removing sprockets.
2025-03-13 12:49:33 +00:00
..
login.html.erb FEATURE: Dark/light mode selector (#31086) 2025-02-07 03:28:34 +03:00
service-worker.js.erb DEV: Stop using sprockets to compile service-worker js (#31796) 2025-03-13 12:49:33 +00:00
show.html.erb DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00