Can we use mini-css-extract-plugin ?
phiphou opened this issue · comments
Phiphou commented
Can we use this plugin with mini-css-extract-plugin ? If so, how to do it ?
Brendan Mullins commented
yes, it works out of the box with mini-css-extract-plugin
, just be sure to use npm i purgecss-webpack-plugin@next -D
with webpack 4
Phiphou commented
Thanks, works like a charm, just had to deal with some whitelisted classes ;)
Brendan Mullins commented
In the new version 1.2.0
webpack V3 and V4 are supported, so if you are using the @next
channel, please install the normal release