docs: function createSingleCompiler(webpackConfig: WebpackCompiler): Promise<any> {
    return new Promise((resolve, reject) => {
      try {
        webpack(webpackConfig, (err, stats) => {
          if (err || stats.hasErrors()) {
            debug(err);
            return reject(err);
          }
  
          return resolve();
        });
      } catch (e) {
        return reject(e);
      }
    });
  }