-
Notifications
You must be signed in to change notification settings - Fork 69
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
webpack v5 support #150
Comments
Main readme links to a webpack v5 repo |
The latest has a dependency mismatch |
Yeah, I have webpack v5 but it wants webpack 4 still.
|
@sudofox What is the work around for this? I am trying to create a new Elixir Phoenix Liveview phx.server. |
For webpack v5 or above please use css-minimizer-webpack-plugin https://github.com/webpack-contrib/css-minimizer-webpack-plugin/ instead. |
@alexander-akait but https://github.com/webpack-contrib/css-minimizer-webpack-plugin/ is not replacement for case when custom CSS processor is specified by
Is it possible to add webpack 5 support for optimize-css-assets-webpack-plugin? |
No and this should be used for |
Alternative is https://github.com/mistakster/postcss-pipeline-webpack-plugin with wide range support: |
@alexander-akait |
@slapbox What you use to output CSS, maybe default options are different, also can you provide changes? |
I'll try to loop back to this with a diff of two output files. As I understand it, |
They used different versions of cssnano too, so output can be different... Can you try to force enable |
Ninja edit: Now that I've finally examined the files, it seems that the difference is that Original comment: Specifying the default preset for Here's the relative sizes: |
Any update so far to support webpack 5 |
@rupeshdeotale97 read first line of Readme ;) (also came here for answers) |
It would be nice with webpack v5 support
The text was updated successfully, but these errors were encountered: