text: const path = require('path');
  
  module.exports = {
    entry: './index.js',
    output: {
      path: path.resolve(__dirname, 'dist'), 
      filename: 'bundle.js',
      publicPath: '/dist/'
    },
    module: {
      rules: [
        {
          test: /\.m?js$/,
          exclude: /(node_modules|bower_components)/,
          use: [
            {
              loader: "babel-loader",
              options: {
                configFile: "./babel.config.js",
                cacheDirectory: true
              }
            }
          ]
        },
        {
          test: /\.css$/,
          use: ["style-loader", "css-loader"]
        }
      ]
  },
    mode: 'development',
    devServer: {
      inline: true
    },
    devtool: "source-map"
  }
  