Bug
We use ts-node to parse the routes config as well as blocks (because they're not compiled with webpack). Because of this sometimes ts-node can create spurious errors (due to incorrect configuration), when in reality we only want to use ts-node to transpile the code. To fix we should set transpileOnly to true in the register options:
tsnode.register({ transpileOnly: true });