text: module.exports = {
    entry: "./app.js",
    output: {
      path: __dirname,
      filename: "demo.bin.js"
    },
    module: {
      rules: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          use: {
            loader: "babel-loader",
            options: { presets: ["@babel/react", "@babel/env"] }
          }
        }
      ]
    }
  };
  