[You can use this](https://github.com/mozilla/commonplace/blob/master/lib/utils.js#L67), but the reason the compilation functions are slow is because they're sync. You'd do better do just do it properly as async.