534 B · text History 2264215

Frontend assets

Build inputs live here; the compiled f/css/app.css and f/js/app.js are gitignored and produced by Tailwind + esbuild.

First time:

just deps          # npm install

One-shot build (CSS + JS + vendored webfonts):

just assets

Watch during development:

just watch

Or run the underlying tools directly:

esbuild f/js/src.js --bundle --outfile=f/js/app.js --watch --loader:.woff=file --loader:.woff2=file
npx tailwindcss -c tailwind.config.js -i ./f/css/style.css -o ./f/css/app.css --watch