Run TailwindCSS CLI without needing to touch anything JavaScript. No input.css
or tailwind.config.js
is necessary.
nix run github:srid/tailwind-haskell -- 'src/**/*.hs' -o output.css
Compiles CSS classes in the input file paths or patterns, and writes to the output CSS file. Pass -w
to run in JIT watcher mode.
pkgs.haskellPackages.tailwind
already wraps the necessary runtime dependencies (tailwind with plugins). You may use it along with the static which
library.
This package is used in Emanote to compile the CSS file on the generated website, as well as in other Ema apps.