- Assets are now put in
pkgs/web-assets/srcand are bundled with Vite. - The
just devrecipe now also runs a Vite dev server with HMR inline-assetsbuilds now needASSET_DIST_DIRset to the path to the bundle- We'll need to set up something with Nix for this, won't be that bad
- Puts inlining assets behind a feature (
inline-assets)- Without this it'll assume a Vite dev server is running, idk how to feel abt that. I might make another feature and require either to be selected.
- Also uses
memory-serveto serve assets compressed
Something went wrong. Try again.
The (aspirational) foundation of CS at WCU!
Something went wrong. Try again.
Better Static Assets #76
Open
bwc9876.dev
targeting ben/assignment-api from ben/better-static
Open opened by and assigned to
bwc9876.dev targeting ben/assignment-api from ben/better-static
Commits 0
Could not load commits.