funny javascript-optional bluesky web frontend
https://anartia.kelinci.net/did:plc:z72i7hdynmk6r22z27h6tvur
funny javascript-optional bluesky web frontend
https://anartia.kelinci.net/did:plc:z72i7hdynmk6r22z27h6tvur
i think the right approach might just be to:
this solves my problem of trying to vendor HLS.js.
see, the way I've made these pages have minimal JavaScript is that I've purposefully disabled SvelteKit's client-side rendering functionality. (I've also heavily modified SvelteKit's build output to get rid of those <!-- --> HTML comments serving as hydration markers, we don't need those.)
to get sprinkles of interactivity (e.g. relative time, I think they're useful), I have a wrapper component that adds in <script> elements that link to JS snippets placed in the static assets directory.
I could get HLS.js to work, but I'd need to have a separate esbuild step that would vendor the library as a single file, where I could then consume as a JS snippet.
yeah I'm not gonna do that.
