yola / doorservice

Service to open the door
1 stars 0 forks source link

Replace npm/bower with uncss'ed CSS and its script #12

Closed zoidyzoidzoid closed 9 years ago

zoidyzoidzoid commented 9 years ago

So the script could possibly do with some comments.

I touch the uncss'ed file, so that it exists when uncss parses the template, because if uncss can't find it, it breaks. I tried using the --ignoreSheets command to ignore that stylesheet, but it doesn't do what I want.

I copied bootstrap.css to a simpler place, so the paths were less messy. I left bower installing to default bower_components so we have less stuff in the repo.

Also:

$ du -hs doorservice/static/css/bootstrap.css
136K    doorservice/static/css/bootstrap.css
$ du -hs doorservice/static/css/doorservice.uncss.css
 12K    doorservice/static/css/doorservice.uncss.css
snitch commented 9 years ago

:sparkles: No lint errors found. :sparkles:

stormf commented 9 years ago

Looks good to me

snitch commented 9 years ago

:sparkles: No lint errors found. :sparkles:

snitch commented 9 years ago

:sparkles: No lint errors found. :sparkles:

stefanor commented 9 years ago

:+1: