const path = require("path");

module.exports = {
  entry: { main: "./src/client/assets/js" },
  output: {
    path: path.resolve(__dirname, "dist"),
    filename: "main.js"
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        use: {
          loader: "babel-loader"
        }
      }
    ]
  }
};

@@ -114,63 +114,80 @@
 th: 
-path.resolve(__dirname, %22dist%22),%0A    filename: %22main.js
+__dirname + %22/build%22,%0A    filename: %22application.js%22,%0A    publicPath: %22/
 %22%0A  

correct output dir