text: const path = require('path')
  const HtmlWebpackPlugin = require('html-webpack-plugin');
  
  module.exports = {
      entry: path.resolve(__dirname, 'index.js'),
      mode: 'production',
      output: {
          path: path.resolve(__dirname, 'dist'),
          filename: 'bundle.js',
          libraryTarget: 'umd',
      },
      module: {
          rules: [{
              test: /\.js$/,
              loader: "babel-loader"
          }]
      }
  }