mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 03:06:46 +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) |
||
|---|---|---|
| .. | ||
| base_importer.rb | ||
| directory_importer.rb | ||
| git_importer.rb | ||
| zip_exporter.rb | ||
| zip_importer.rb | ||