code: function getWebpackConfig(skyPagesConfig, argv) {
    const common = require('./common.webpack.config');
  
    // Webpackmege will attempt to merge each entries array, so we need to delete it
    let commonConfig = common.getWebpackConfig(skyPagesConfig, argv);
    commonConfig.entry = null;
  
    // Since the preloader is executed against the file system during an AoT build,
    // we need to remove it from the webpack config, otherwise it will get executed twice.
    commonConfig.module.rules = commonConfig.module.rules
      .filter((rule) => {
        const isPreloader = /(\/|\\)sky-processor(\/|\\)/.test(rule.loader);
        return (!isPreloader);
      });
  
    return webpackMerge(commonConfig, {
      entry: {
        polyfills: [skyPagesConfigUtil.spaPathTempSrc('polyfills.ts')],
        vendor: [skyPagesConfigUtil.spaPathTempSrc('vendor.ts')],
        skyux: [skyPagesConfigUtil.spaPathTempSrc('skyux.ts')],
        app: [skyPagesConfigUtil.spaPathTempSrc('main-internal.aot.ts')]
      },
      
      // Disable sourcemaps for production:
      // https://webpack.js.org/configuration/devtool/#production
      devtool: undefined,
      
      module: {
        rules: [
          {
            test: /\.ts$/,
            loader: '@ngtools/webpack'
          }
        ]
      },
      plugins: [
        new ngtools.AotPlugin({
          tsConfigPath: skyPagesConfigUtil.spaPathTempSrc('tsconfig.json'),
          entryModule: skyPagesConfigUtil.spaPathTempSrc('app', 'app.module') + '#AppModule',
          // Type checking handled by Builder's ts-linter utility.
          typeChecking: false
        }),
        SaveMetadata,
        new webpack.optimize.UglifyJsPlugin({
          beautify: false,
          comments: false,
          compress: { warnings: false },
          mangle: { screw_ie8: true, keep_fnames: true }
        })
      ]
    });
  }
docs: Returns the default webpackConfig.
  @name getDefaultWebpackConfig
  @returns {WebpackConfig} webpackConfig