text: const FriendlyErrorsWebpackPlugin = require('../../../index');
  const ESLintPlugin = require('eslint-webpack-plugin');
  
  module.exports = {
    mode: 'development',
    entry: __dirname + "/index.js",
    output: {
      path: __dirname + "/dist",
      filename: "bundle.js"
    },
    plugins: [
      new FriendlyErrorsWebpackPlugin(),
      new ESLintPlugin({
        eslintPath: require.resolve('eslint-7')
      })
    ],
    module: {
      rules: [
        {
          test: /\.jsx?$/,
          exclude: /node_modules/,
          loader: 'babel-loader',
        }
      ]
    },
  };
  