We should change the API to use Promises rather than `(err, result)` callbacks. This includes `compile`, `Compiler.compile`, `options["before-compile"]`, and `options["after-compile"]`.
We should change the API to use Promises rather than
(err, result)callbacks.This includes
compile,Compiler.compile,options["before-compile"], andoptions["after-compile"].