Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use output.cssFilename as default filename #1041

Open
ahabhgk opened this issue Jul 9, 2023 · 1 comment
Open

Use output.cssFilename as default filename #1041

ahabhgk opened this issue Jul 9, 2023 · 1 comment

Comments

@ahabhgk
Copy link

ahabhgk commented Jul 9, 2023

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

@alexander-akait
Copy link
Member

We can do it, but I am afraid it will be breaking change right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants