is it possible to inline an import, rather than outputting a literal @import
?
or just include some raw CSS (then i can just slurp
)
Yeah, my inclination would be to go with slurp
and concatenate that to the generated output of garden.
๐ using lein garden
with :output-to
, really would not want to concat
iโm going to look into extending the garden compiler protocols and see if i can inject raw css that way
ah, I donโt have any experience using anything other than garden.core/css
or garden.core/style
for output.
Typically my process is rendering the garden stylesheet to an external file with (css {:output-to โโฆโ} stylesheet)
when the web server first starts rather than relying on any leiningen plugin.
In which case concatenating to that external file becomes very easy because youโre not in a plugin environment and you can craft the function you need to spit
out whatever you like.
well. iโm really not looking to significantly change my build process to eliminate 1 HTTP request. ๐
thanks tho
fair enough ๐