mini-css-extract-plugin icon indicating copy to clipboard operation
mini-css-extract-plugin copied to clipboard

Use output.cssFilename as default filename

Open ahabhgk opened this issue 2 years ago • 1 comments

Feature Proposal

Use output.cssFilename as default filename, I know cssFilename is used for experiments.css, but it would be great if it can also used for this plugin

Feature Use Case

module.exports = {
  output: {
    cssFilename: "[name]-[contenthash].css",
  },
  plugins: [new MiniCssExtractPlugin()]
}

Please paste the results of npx webpack-cli info here, and mention other relevant information

ahabhgk avatar Jul 09 '23 04:07 ahabhgk