Open 60fov opened 8 months ago
upon brief inspection of the dev script from astro it looks like the are just using an esbuild plugin. might not be too hard to replicate and incorporate into our build system.
see here -> https://github.com/withastro/astro/blob/main/scripts/cmd/build.js
npx astro build
dev build script
note
even though we don't need a bundler most of the modern build tools (vite, esbuild, bun) have them. ideally we'd use one of these. the problem, however, is astro integration. really i'd like to use the astro dev tools as we are already using them (for now), but no documentation (i think) so would have to go through astro source (consider asking discord)