-
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
Keep example.css and generate example.min.css #29
Comments
Currently So it is not possible. Example webpack config:
If you can expose your use case for this maybe we can check if it would be useful to add this feature to the plugin. |
Hi there, thanks for the reply. The reason I'd need two CSS files, one minified the other not, is that it is for a CSS library |
I think this is a bit of an edge case. I am closing the issue. I am not saying this will not be implemented but since it can be generated with a parallel webpack config i don't think its worth it to implement it right now. |
OK, thanks. Not sure it's edge case - it's fairly common practice to provide both minified and unminified resources in a distribution - bit agree this can be achieved by other means. |
Hi there,
Can't seem to find an answer to this (and might be a good one to show an example of in the README) - but how could I use
OptimizeCssAssetsPlugin
to keep the original (unminified) CSS generated byExtractTextPlugin
as a file (i.e.example.css
) and then generate a minified file copy (i.e.example.min.css
too?Thanks for any help!
The text was updated successfully, but these errors were encountered: