mirror of
https://github.com/discourse/discourse.git
synced 2025-05-02 09:34:35 +08:00

Previously we would prepend extra content to developer-authored files, which means adding `@use` in some files would throw an error because `@use` must be at the top of any compiled file. Instead, we can ensure any developer-authored files are on the load path, and then `@import` them into the synthetic entrypoint. Plugin color_definitions stylesheets are an edge case here, and will need to be handled separately (or... wait until we move to native css relative-color syntax, then we can drop color-definition stylesheets altogether)