2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-05 15:27:34 +08:00
discourse/spec/fixtures/plugins/scss_plugin/plugin.rb
David Taylor 042c480049
FIX: Do not @import .css assets for plugins (#32014)
b1924c35 switched our compiler to use `@import` internally for scss
entrypoints. This logic also applied to `.css` files, but unfortunately
sass doesn't do anything with `@import` of CSS files, so they'll be left
intact all the way to the browser. Continue using the old concatenation
approach for them in the compiler.

Followup to b1924c3524
2025-03-26 11:01:24 +00:00

8 lines
194 B
Ruby

# frozen_string_literal: true
# name: scss_plugin
# about: Fixture plugin for SCSS tests
# version: 1.0
register_asset "stylesheets/common/common.scss"
register_asset "stylesheets/simple.css"