SassEx.Processor (sass_ex v0.1.0) View Source

Sass processor. Manages the communication between the Dart Sass Embedded processor and Elixir.

Link to this section Summary

Link to this section Types

Specs

compile_opts() :: [
  importers: [importer_t()] | [] | nil,
  style: :expanded | :compressed,
  source_map: boolean(),
  syntax: :css | :sass | :scss
]

Specs

importer_t() :: Module | Struct

Specs

state_t() :: %{
  port: port() | nil,
  buffer: binary(),
  requests: %{optional(pos_integer()) => SassEx.Request.t()},
  last_request_id: non_neg_integer()
}