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