hunk.code_window: const AuthorList = ({ authors }) => (
     <div>
       {authors.map((a, i) => (
         <div key={i}>
           <h2>{a.name}</h2>
         </div>
  
hunk.labels: keep keep replace keep keep keep
hunk.after_edit:     {authors && authors.map((a, i) => (
  
hunk.file_path: community/sample-apps/nextjs-postgres-graphql/pages/AuthorList.js
hunk.type: replace
file: const path = require('path');
  const HtmlWebpackPlugin = require('html-webpack-plugin');
  const outputDir = path.join(__dirname, 'build/');
  
  const isProd = process.env.NODE_ENV === 'production';
  
  module.exports = {
    entry: './src/Index.bs.js',
    mode: isProd ? 'production' : 'development',
    output: {
      path: outputDir,
      filename: 'Index.js'
    },
    plugins: [
      new HtmlWebpackPlugin({
        template: 'src/index.html',
        inject: false
      })
    ],
    devServer: {
      compress: true,
      contentBase: outputDir,
      port: process.env.PORT || 8000,
      historyApiFallback: true
    }
  };
  