text: const path = require('path')
  
  module.exports = {
      entry: "./src/index.js",
      output: {
          path: path.resolve("dist"),
          filename: "bundled.js"
      },
      module: {
        rules: [
          {
            test: /\.js$/,
            exclude: /node_modules/,
            use: {
              loader: "babel-loader"
            }
          },
          {
              test: /\.css$/,
              use: [ "style-loader", "css-loader" ]
            }
        ]
      }
    };