-
TIL that you can write custom "require extensions" in Node, which makes it run custom code when you require files matching a certain extension. You could dynamically compile TypeScript, protocol buffers, or any other format you are using. gist.github.com/jamestalmage/df922691475cff66c7e6