mix auix. gen. tailwind_classes
(Aurora UIX v0.1.5-rc.2)
Copy Markdown
Scans Aurora UIX source files for hero icon class names and writes a minimal
JavaScript safelist to priv/static/classes.js.
Host applications using Heroicons can reference this file in their Tailwind CSS configuration instead of scanning the entire Aurora UIX dependency tree:
@source "../deps/aurora_uix/priv/static/classes.js";This task is idempotent: it only writes the file when the content changes.
Summary
Functions
@spec run(keyword()) :: :ok
Scans lib/ for hero icon class names and writes the safelist file.