mix scoria.assets.build (scoria v0.1.2)

Copy Markdown View Source

Assembles the precompiled, self-contained dashboard assets into priv/static/scoria/.

The library ships these compiled artifacts so the dashboard renders fully styled and interactive in any host app — with no dependency on the host's Tailwind/esbuild pipeline (the Phoenix LiveDashboard / Oban Web model).

$ mix scoria.assets.build

CSS: concatenates assets/css/*.css (numeric order) under one cascade @layer declaration. JS: concatenates the prebuilt Phoenix + LiveView + phoenix_html UMD bundles with

 `assets/js/scoria.js` (Scoria's own LiveSocket + hooks). No bundler binary required.

Run before mix hex.publish; the output is committed and shipped via package.files.