package ppx_css

  1. Overview
  2. Docs
A ppx that takes in css strings and produces a module for accessing the unique names defined within

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=e60e31aadd820b131f7f05827f369164564400bd4fd51c199d066abf7e68753f

doc/ppx_css.syntax/Ppx_css_syntax/Preprocess_arguments/index.html

Module Ppx_css_syntax.Preprocess_argumentsSource

This module contains the parameters sent in via the jbuild/dune file's preprocess field.

The way of interfacing/reading/setting is side-effecty. The arguments are read at the top-level when the module is loaded, and then read with get

Sourcetype t = {
  1. dont_hash_prefixes : Core.String.Set.t;
  2. dont_hash : Core.String.Set.t;
  3. rewrite : string Core.String.Map.t;
}
Sourceval get : unit -> t
Sourceval add_dont_hash : string -> unit
Sourceval add_dont_hash_prefixes : string -> unit
Sourceval add_rewrite : from:string -> to_:string -> unit
OCaml

Innovation. Community. Security.