discourse/config/initializers/sprockets.rb

5 lines
139 B
Ruby

require_dependency 'discourse_sass_importer'
Sprockets.send(:remove_const, :SassImporter)
Sprockets::SassImporter = DiscourseSassImporter