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 Dec 25, 2018. It is now read-only.
New to webpack. Trying PurifyCSS. Using class-names with numerals in .scss files will be compiled in the .css file, regardless if the class is present in the template files or not.
Example in template <div class="test"></div>
Example in .scss file .test2 { color: red }
Output in .css file .test2 { color: red }
However, changing the .scss to "test" and the class in the template to "testy" will yield the desired result (omitting the "test" class from the compiled css).
It seems PurifyCSS does not recognize class names with numerals in them. Seen other issues addressing this issue when using CSS frameworks like bootstrap, who has plenty of numeral-based class-names.
Is there something that can be done about this?
The text was updated successfully, but these errors were encountered:
OS: Windows 10
Node: v6.9.5
Webpack: 3.4.1
New to webpack. Trying PurifyCSS. Using class-names with numerals in .scss files will be compiled in the .css file, regardless if the class is present in the template files or not.
Example in template
<div class="test"></div>
Example in .scss file
.test2 { color: red }
Output in .css file
.test2 { color: red }
However, changing the .scss to "test" and the class in the template to "testy" will yield the desired result (omitting the "test" class from the compiled css).
It seems PurifyCSS does not recognize class names with numerals in them. Seen other issues addressing this issue when using CSS frameworks like bootstrap, who has plenty of numeral-based class-names.
Is there something that can be done about this?
The text was updated successfully, but these errors were encountered: