Tom Larkworthy
11/01/2025, 6:42 PMes-module-shims, so I can serve them locally, and fallback to network. This means the local file includes just the current theme, and you do a network fetch only when changing themes, keeping the bundle size small and local-first.
Also thanks to the magic of es-module-shims, the CSS is fetched directly from Github raw URLs, as I can switch the content-type to test/css programatically. es-module-shims is so powerful for local-first stuff.