module.exports = {
  entry: "./src/index.js",
  output: {
    filename: "bundle.js"
  }
};

@@ -1,8 +1,39 @@
+const path = require(%22path%22);%0A%0A
 module.e
@@ -107,16 +107,60 @@
 ndle.js%22
+,%0A    path: path.resolve(__dirname, %22build%22)
 %0A  %7D%0A%7D;%0A

Edit webpack.config.js