code: function asAppBundle() {
  
          const common = merge(
              {
                  output: {
                      path: PATHS.build,
                      filename: '[name].[chunkhash].js',
                      // This is used for require.ensure if/when we want to use it
                      chunkFilename: '[chunkhash].js'
                  }
              },
              devServer()
          );
  
          if (isDevServer) {
              return merge(
                  common,
                  {
                      output: {
                          // ensure urls in css work in conjunction with source maps
                          // this is required because of the limitation of style-loader
                          // (see https://github.com/webpack/style-loader#recommended-configuration)
                          publicPath: 'http://localhost:8080/'
                      }
                  }//,
                  // hot module reload not working; wanted it for the css :-(
                  // hmr()
              );
          } else {
              // note: we can't configure webpack to use root relative paths (ie publicPath: '/') as this limits
              // site deployment to always the root of that website; in IIS for example it's common to use
              // a subdirectory as the root folder for the web app
              return common;
          }
      }
docs: ///