text: Q:
  
  extract-text-webpack-plugin not extracting css
  
  When I created chunk with the help of CommonChunkPlugin, extract-text-webpack-plugin doesn`t extract css from landings chunk. Any ideas?
  config: {
  plugins: [
      new webpack.optimize.CommonsChunkPlugin({
          chunks: [
              'vzr',
              'vzrProduct',
              'emptyProduct'
          ],
          async: 'landings'
      }),
      new ExtractTextPlugin({
          filename: '[name].[contenthash].css',
          allChunks: true
      })
    ]
  }
  
  A:
  
  I added the function into minChunk and problem is solved. CommonChunkPlugin stopped to extract css and less modules 
  config: {
  plugins: [
      new webpack.optimize.CommonsChunkPlugin({
          chunks: [
              'kaskoLanding',
              'kaskoLandingProduct',
              'kaskoCalculator',
              'kaskoCalculatorProduct',
              'osagoCalculator',
              'osagoCalculatorProduct',
              'vzr',
              'vzrProduct',
              'emptyProduct'
          ],
          minChunks: (module, count) => {
              if (module.resource && (/^.*(css|less)$/).test(module.resource)){
                  return false;
              }
  
              return count >= 9;
          },
          async: 'landings'
      }),
      new ExtractTextPlugin({
          filename: '[name].[contenthash].css',
          allChunks: true
      })
  ]
  
  }
  
  