Fork me on GitHub
#hoplon
<
2017-05-13
>
thedavidmeister02:05:08

how do you guys generally handle concatenating/minifying css files if you have a few?

mudphone05:05:08

@U0D4G0Q4U i was using Brunch before, and am using Webpack now. I'm not happy with the complexity, but am working with a Phoenix server (which is why I am doing this right now). I have been looking at replacing my setup with boot and sass on the command line. I'd be curious to see other approaches.

mudphone05:05:34

I saw an interesting wiki page on using figwheel with Component and sass.

thedavidmeister05:05:15

@U0E6Y2TP1 mostly i've been using garden for my own stuff

thedavidmeister05:05:33

really was just wondering about external files mainly, like normalize.css for example

thedavidmeister05:05:59

in the end i just used a macro to slurp the contents of normalize from github straight into a string in a hoplon element 😛

mudphone06:05:53

That sounds pretty cool.

thedavidmeister06:05:06

definitely try out garden if you haven't before

thedavidmeister06:05:24

there are snippets floating around to extend hoplon to recognise it

thedavidmeister06:05:53

sass will always be limited by the fact that it is "over there" from your app

thedavidmeister06:05:51

like, for example, i can slurp a JSON from https://uigradients.com/ then extract hash values from that and put it straight into my compiled garden, and keep the hash values around for my app 🙂

thedavidmeister02:05:28

especially if some might be remote urls

cpmcdaniel14:05:59

ok, I think my problem is that I have .cljs.hl files mapped to clojure-mode, not clojurescript-mode