Closed ka8725 closed 9 years ago
For rails apps you definitely want to use the fontello.scss
file (which you should be able to get by explicitly do @import "fontello.scss"
), but I'm trying to make the code more flexible for other environments/frameworks and they might want to use the pur CSS version.
Do you have a suggestion on which way it should behave?
May be detect current environment?
if defined?(Rails)
generate_scss
else
generate_css
end
In our case we need to manually delete on of them to make Sprockets assets precompiling work.
I changed master, so that the source .css
stylesheet in favor of the .scss
version. At some point I might add an option to disable conversion if one is not in a Rails context. It would be nice if you could try it out and report if it works as expected.
@jhilden Left a comment on the commit. Could you please have a look?
I just released version 0.4.2
which should fix this issue. Let me know if something is still not working.
Having this exception in rails app:
I think only one
fontello.css
orfontello.scss
is enough.