ruby on rails - sass shows everything in one file -
doc of rails-sass says 1 should not use require_tree
use things @import "mixins/**/*
import puts in 1 file. ex application.css looks like:
@import 'markdown'; @import 'issues'; @import 'button'; @import 'comment'; @import 'feed'; @import 'form'; @import 'guide'; @import 'hero'; @import 'map'; @import 'message'; @import 'nav'; @import 'project'; @import 'toolbar'; @import 'user'; @import 'widget';
this generates 1000 lines application.css file , gets difficult see in debugger particular style coming from. says coming application.css.
is there way can 1 feature of require tree .
?
that desired behavior production in development want add
config.assets.debug = true
to development.rb. cause file compiled separately.
Comments
Post a Comment