This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 511
Post Processing final extract #167
Comments
Got the same problem with mqpacker (to merge media queries) |
@nhavar @Grafikart you can extend extract-text-webpack-plugin and write you own. Take look at ExtractSVGPlugin which postprocess extracted chunk with wrapping it with |
Related issue #161 |
Closed
I do this at purifycss-webpack. Please see the plugin for the approach. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying unsuccessfully so far to find an example of how to do post processing on the final output of ExtractTextPlugin. After I run webpack ExtractTextPlugin successfully merges all of the CSS into a main.css, but there's still cleanup required (like merging/removing dupes). But I haven't seen any examples of how to achieve this. Piping to !postcss just seems to run those plugins on the individual chunks and not the whole. Has anyone identified a solution for manipulating the output file?
The text was updated successfully, but these errors were encountered: