Closed escapedoc closed 5 years ago
The solution was uninstalling purgecss-webpack-plugin and purgecss-whitelister. Then installing pretty same versions as in package.json.
Then another issue arises:
What could it be? THe version of critical-css-webpack-plugin in current's repo is the newest as I can see in package.lock.json file
Yeah that's correct, even though there was a PR included to support adding .pcss
I think the parsers that it uses can't parse PostCSS properly.
You can use the PurgeCSS Whitelister on pure CSS files, or just come up with another way to whitelist entire files if they are PostCSS
Ca not run the build from your example. What have I done:
Doesn't build anything:![image](https://user-images.githubusercontent.com/36753884/50050936-36666080-0119-11e9-9add-5d805118f675.png)