discourse/lib/stylesheet
David Taylor 0a35a36dc7
DEV: Refresh all plugin stylesheet targets on change (#40448)
We were previously looking for path segments like `/admin/` and
`/mobile/` to deduce the 'target' of plugin CSS files. In reality, the
file path provides no guarantee about the configured target.

The easy fix is to rebuild all known targets whenever any plugin css
changes. In general, plugins only have one or two targets, and only have
a small number of css files, so this shouldn't be a perf concern.
2026-06-01 18:11:39 +01:00
..
manager DEV: Allow plugins to register admin-panel-specific CSS (#40345) 2026-05-28 11:03:38 +01:00
compiler.rb DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
importer.rb DEV: Allow plugins to register admin-panel-specific CSS (#40345) 2026-05-28 11:03:38 +01:00
manager.rb PERF: Run primary and parallel DB setup concurrently in CI (#40319) 2026-05-29 06:46:32 +08:00
watcher.rb DEV: Refresh all plugin stylesheet targets on change (#40448) 2026-06-01 18:11:39 +01:00