Liking cljdoc? Tell your friends :D

dart-sass-clj.core


-mainclj

(-main & args)

cli-argsclj

(cli-args args)

cli-optsclj


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]
raw docstring

compile-handlerclj

(compile-handler config)

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)
raw docstring

compile-sourceclj

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

compile-strclj

(compile-str compiler s)

Compiles sass string to css string.

Compiles sass string to css string.
raw 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]
raw docstring

relativizeclj

(relativize path file)

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

× close