mix attached_dashboard.build_assets (AttachedDashboard v0.1.0)

Copy Markdown View Source

Builds and hashes the CSS and JS assets for the AttachedDashboard.

mix attached_dashboard.build_assets

Steps:

  1. Runs Tailwind CSS (v4) to compile assets/css/app.css.
  2. Runs esbuild to bundle assets/js/app.js.
  3. MD5-hashes the output files and renames them to app-<md5>.css / app-<md5>.js.
  4. Writes priv/static/manifest.json.