Boot task to compile sass.
sass
task.scss
or .sass
file not starting with _
in fileset creates equivalent .css
file.To create css file public/css/main.css
have the scss file on path public/css/main.scss
or use sift task to move the css file:
(comp (sass) (sift :move {#"main.css" "public/css/main.css"}))
@import "{name}";
at {path}
.
{path}/{name}.scss
exists(io/resource "{name}.scss")
(io/resource "{path}/{name}.scss")
{name}
META-INF/resources/webjars/{package}/{version}/{path}
can be referred using {package}/{path}
bootstrap/scss/bootstrap.scss
=> META-INF/resources/webjars/bootstrap/4.0.0-alpha/scss/bootstrap.scss
[org.webjars.bower/bootstrap "4.0.0-alpha"]
@import "bootstrap/scss/bootstrap";
boot -vvv scss
Copyright © 2014-2015 Juho Teperi
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.