import path from 'path'

export default {
  target: 'node',
  entry: path.resolve(__dirname, './entry.js'),
  output: {
    path: __dirname,
    filename: 'server-bundle.js',
    libraryTarget: 'commonjs2',
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        use: ['babel-loader'],
      },
    ],
  },
}

@@ -53,16 +53,38 @@
 'node',%0A
+  mode: 'production',%0A
   entry:

Fix a test warning