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
As suggested by @jsnanigans, the default extractor will be modified to /[A-Za-z0-9_-]+/g. _ is commonly used for css selectors, especially with the bem methodology.
The default extractor regex in version
v0.16.0
is/[A-z0-9-]+/g
The range
A-z
includes all ascii characters betweenA
(65) andz
(122), in particular also the range from 91 to 96, which is[
\
]
^
_
`
This was probably not intended. I would suggest the following regex:
/[A-Za-z0-9-]+/g
See also: FullHuman/purgecss-webpack-plugin#7
The text was updated successfully, but these errors were encountered: