Just curious about the prospect of compiling electric code into ES modules (for import maps), or if this would be totally infeasible due to how things are interconnected?
I have no idea, but I do hear more and more about how they enjoy separate JS-files and import maps in pure-JS-land. Rails has moved to it fully for example since a few years: https://world.hey.com/dhh/hey-is-running-its-javascript-off-import-maps-2abcf203 Metosin wrote about the topic of ES modules as well: https://www.metosin.fi/blog/2024-09-05-using-shadow-cljs-with-esbuild
we haven't started to think about this yet, it may require some changes to electric to make it work
cool, thanks for letting me know 👍