Closed aryehraber closed 6 years ago
The caret ^
sign in package.json means that you should be able to install 0.22.0 version.
Yeah that's what I thought too, however it didn't seem to work; laravel-mix-purgecss
would keep using v0.19.0
and thus whitelistPatternsChildren
wouldn't be available to me in my Mix config.
Try reinstalling the package, it should pick latest dependencies.
I did, a couple of times in fact because I was convinced it should automatically be pulling in the latest version of purgecss-webpack-plugin
, but it would keep installing and using v0.19.0
.
The only way I was able to resolve it locally was by cd
ing into the package directly (inside node_modules
) and run npm i purgecss-webpack-plugin@0.22
.
Is it working for you as expected?
The caret ^ sign in package.json means that you should be able to install 0.22.0 version.
No, there's a major version difference because it's still an 0.
release.
I'll review and merge this tomorrow 👍
A-ha! Didn't know that about 0.
releases. Thanks @sebastiandedeyne!
Released a patch version with this PR, thanks!
This PR simply bumps the underlying
purgecss-webpack-plugin
version which brings support for a newwhitelistPatternsChildren
option.