code: function build(argv, skyPagesConfig, webpack) {
  
    const lintResult = tsLinter.lintSync();
    const isAot = skyPagesConfig &&
      skyPagesConfig.skyux &&
      skyPagesConfig.skyux.compileMode === 'aot';
  
    if (lintResult.exitCode > 0) {
      return Promise.reject(lintResult.errors);
    } else {
      localeAssetsProcessor.prepareLocaleFiles();
      const name = argv.serve ? buildServe : buildCompiler;
  
      return name(argv, skyPagesConfig, webpack, isAot);
    }
  }
docs: Executes the build command.
  @name build
  @param {*} skyPagesConfig
  @param {*} webpack
  @param {*} isAot
  @param {*} cancelProcessExit