This repository was archived by the owner on Feb 1, 2020. It is now read-only.
This repository was archived by the owner on Feb 1, 2020. It is now read-only.
Create an example of sass-loader & postcss-loader for Webpack v4 with mini-css-extract-plugin #76
Closed
Description
I've been trying to implement the PurgeCSS webpack plugin while using sass-loader
and postcss-loader
. I've found the examples only for webpack V3:
https://github.com/FullHuman/purgecss-webpack-plugin/tree/master/examples/postcss-and-scss
https://github.com/webpack-contrib/extract-text-webpack-plugin
⚠️ Since webpack v4 the extract-text-webpack-plugin should not be used for css. Use mini-css-extract-plugin instead.
My suggested solution: Create an example configuration for webpack v4 with sass-loader and postcss-loader
Metadata
Metadata
Assignees
Labels
No labels