Liking cljdoc? Tell your friends :D

dart-sass-clj.core


-mainclj

(-main & args)
source

cli-argsclj

(cli-args args)
source

cli-optsclj

source

compileclj

(compile {c :compiler
          t-dir :target-dir
          s-dirs :source-dirs
          watch :watch
          :or
            {c (compiler config) t-dir "target/" s-dirs (util/get-source-dirs)}
          :as config})

Compiles sass source to css targets.

:target-dir - Directory to output css forest :source-dirs - Source directories where to look for sass source files :watch - Boolean, start watch process if true, Compile once and return if false :compiler - [Optional] SassCompiler to use for compilation, if not provided, a default one will be made

Options passed to the default compiler:

:output-style - Either :expanded or :compressed, default [:compressed] :source-maps - Whether to generate source maps, boolean, default [false]

Compiles sass source to css targets.

:target-dir    - Directory to output css forest
:source-dirs   - Source directories where to look for sass
                 source files
:watch         - Boolean, start watch process if true,
                 Compile once and return if false
:compiler      - [Optional] SassCompiler to use for
                 compilation, if not provided, a default one
                 will be made

Options passed to the default compiler:

:output-style  - Either :expanded or :compressed,
                 default [:compressed]
:source-maps   - Whether to generate source maps, boolean,
                 default [false]
sourceraw docstring

compile-handlerclj

(compile-handler config)
source

compile-resultclj

(compile-result compiler file)

Compiles file returns CompileSuccess obj. Ex: (io/resource META-INF/resources/webjars/bootstrap/5.1.3/scss/bootstrap.scss)

Compiles file returns CompileSuccess obj.
Ex: (io/resource META-INF/resources/webjars/bootstrap/5.1.3/scss/bootstrap.scss)
sourceraw docstring

compile-sourceclj

(compile-source {c :compiler source-maps :source-maps :as config} sass-file)
source

compile-strclj

(compile-str compiler s)

Compiles sass string to css string.

Compiles sass string to css string.
sourceraw docstring

compilerclj

(compiler config)

Returns a compiler instance. Config options:

:output-style - Either :expanded or :compressed, default [:compressed] :source-maps - Whether to generate source maps, boolean, default [false]

Returns a compiler instance. Config options:

:output-style  - Either :expanded or :compressed,
                 default [:compressed]
:source-maps   - Whether to generate source maps, boolean,
                 default [false]
sourceraw docstring

relativizeclj

(relativize path file)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close