Originally forked from https://github.com/thelgevold/rules_svelte (MIT) into
https://github.com/ankitects/rules_svelte, and modified to generate TypeScript
definitions in addition to mjs files. The parts we need are now integrated into
this repo, so we can modify them more easily.
