diff --git a/frontend/packages/swarm-ui/build.mjs b/frontend/packages/swarm-ui/build.mjs index f14bb7da..251430cd 100644 --- a/frontend/packages/swarm-ui/build.mjs +++ b/frontend/packages/swarm-ui/build.mjs @@ -1,66 +1,33 @@ -// esbuild build for @hive/swarm-ui (project-bootstrap scope). Output -// layout (`dist/`): +// esbuild build for @hive/swarm-ui (project-bootstrap scope). Bundles +// main.tsx + its companion CSS, theme.css, and swarm-ui.css into +// `dist/static/`, content-hashed (`[name]-[hash]`) so a redeploy's new +// bundle gets a new URL, then rewrites those real URLs into index.html +// and sw.js. See each output file's own name in the code below for what +// it's for — not repeated here to avoid this comment drifting out of +// sync with the actual build steps. // -// dist/index.html served at GET / — its asset / -//