Clojure wrapper for jsass JNA wrapper for Libsass.
Check boot-sass and lein-sass4clj.
- Load imports from classpath
- Loading order.
@import "{name}";
at{path}
.- check if file
{path}/{name}.sass
exists - try
(io/resource "{name}.sass")
- try
(io/resource "{path}/{name}.sass")
- check if webjars asset map contains
{name}
- Resource
META-INF/resources/webjars/{package}/{version}/{path}
can be referred using{package}/{path}
- E.g.
bootstrap/sass/bootstrap.scss
=>META-INF/resources/webjars/bootstrap/4.0.0-alpha/scss/bootstrap.scss
- check if file
- You should be able to depend on
[org.webjars/bootstrap "3.3.1"]
and use@import "bootstrap/sass/bootstrap";
- Loading order.
Copyright © 2014-2015 Juho Teperi
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.