code: function compile(config, cb) {
    let compiler;
    try {
      compiler = webpack(config);
    } catch (e) {
      printErrors('Failed to compile.', [e]);
      process.exit(1);
    }
    compiler.run((err, stats) => {
      cb(err, stats);
    });
  }
docs: Wrap webpack compile in a try catch.