readFileSync here will be bad for the server. It's ok to do synchronous I/O in the bundler as we're generally doing only one thing (bundling), but here where we're serving multiple requests at once it will be very bad for node's event loop.

Either use Fibers (probably Future.wrap) or just pass a callback.

(not a full code review, just something I noticed while skimming)