blacklight_range_limit
blacklight_range_limit copied to clipboard
Sprockets require vs. SCSS @import
https://github.com/rails/sass-rails#important-note
Sprockets provides some directives that are placed inside of comments called require, require_tree, and require_self. DO NOT USE THEM IN YOUR SASS/SCSS FILES. They are very primitive and do not work well with Sass files. Instead, use Sass's native
@importdirective which sass-rails has customized to integrate with the conventions of your Rails projects.
The blacklight_range_limit generator will insert require statements in SCSS files. Apparently, this is to be avoided.
👍 I think we've fixed this in blacklight, and it would be great if we fixed this everywhere.