`bun-plugin-elm`: import { Elm } from "./Main.elm" (Made by Hand, btw)

Last week I replaced Vite and all its deps and stuff with two Bun scripts and felt rather pleased with myself. The footnote at the bottom hinted at something even better, and here it is. Lo and behold, the scripts are now a reusable plugin! 🥳 A bun plugin isn't so hard, really Link to heading The main problem to solve is as follows: Bun has no idea what a .elm file is. So build.js (in my previous…