-webpack-plugin') const TerserPlugin = require('terser-webpack-plugin')  module.exports = {     entry: './src/index.js',      output: {         path: path.resolve('dist'),         filename: '[chunkhash].bundle.js' // 