mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-18 18:18:48 +08:00
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. |
||
|---|---|---|
| .. | ||
| manager | ||
| compiler.rb | ||
| importer.rb | ||
| manager.rb | ||
| watcher.rb | ||