title: Conflict: Multiple chunks emit assets to the same filename ./plugin.min.css
body: <p>I get this error when I build webpack:</p>
  
  <p>ERROR in chunk plugin.min [entry]
  ./plugin.min.css
  Conflict: Multiple chunks emit assets to the same filename ./plugin.min.css (chunks 0 and 1)</p>
  
  <p>Here is my <strong>webpack.config.js</strong> file:</p>
  
  <pre><code>const MiniCssExtractPlugin = require('mini-css-extract-plugin');
  const debug = process.env.NODE_ENV !== 'production';
  const webpack = require('webpack');
  
  var extractBlockSCSS = new MiniCssExtractPlugin({
    filename: "./plugin.min.css",
  })
  
  var plugins = [
      extractBlockSCSS
  ];
  
  var scssConfig = [
      {
          loader: process.env.NODE_ENV !== 'production' ? 'style-loader' : MiniCssExtractPlugin.loader,
      }, 
      {
        loader: 'css-loader',
        options: {
          sourceMap: true
        }
      },
      {
        loader: 'sass-loader',
        options: {
          sourceMap: true
        }
      }
  ];
  
  var config = {
      context: __dirname,
      devtool: debug ? 'inline-sourcemap' : false,
      mode: debug ? 'development' : 'production',
      entry: {
          'plugin.min': './resources/js/entry.js',
          'blocks.build': './resources/blocks/blocks.js'
      },
      output: {
          path: __dirname + '/dist/',
          filename: '[name].js',
      },
      module: {
          rules: [
              {
                  test: /\.js$/,
                  exclude: /node_modules/,
                  use: [
                      {
                          loader: 'babel-loader'
                      }
                  ]
              },
              {
                  test: /\.scss$/,
                  exclude: /node_modules/,
                  use: scssConfig
              }
          ]
      },
      plugins: plugins
  };
  
  module.exports = (env, argv) =&gt; {
      return config;
  };
  </code></pre>
  
  <p>I am guessing this is because I am using the same extract block filename? I have multiple entry points so not sure if that could cause the error I am seeing. Do I need to add more css file names/mini css extract plugins?</p>