You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
Describe the bug whitelistPatterns/whitelistPatternsChildren defined inside of package.json files don't work, probably because they are strings, not regexes. The following error is thrown while building:
TypeError: v.test is not a function
To Reproduce
Config the whitelistPatternsChildren option in package.json via postcss-load-config.
Build.
Expected behavior
Strings found inside whitelistPatterns/whitelistPatternsChildren should be converted into regexes.
Describe the bug
whitelistPatterns
/whitelistPatternsChildren
defined inside ofpackage.json
files don't work, probably because they are strings, not regexes. The following error is thrown while building:To Reproduce
whitelistPatternsChildren
option in package.json viapostcss-load-config
.Expected behavior
Strings found inside
whitelistPatterns
/whitelistPatternsChildren
should be converted into regexes.Screenshots
package.json
Desktop (please complete the following information):
"@fullhuman/postcss-purgecss": "^1.1.0"
The text was updated successfully, but these errors were encountered: