code: function build(argv, skyPagesConfig, webpack) {
    return runBuild(argv, skyPagesConfig, webpack)
      .then((stats) => {
        logger.info('Build successfully completed.');
        return stats;
      })
      .catch(err => {
        logger.error(err);
        process.exit(1);
      });
  }
docs: Executes the build command.
  @name build
  @param {*} skyPagesConfig
  @param {*} webpack
  @param {*} isAot
  @param {*} cancelProcessExit