why red1 classname is showing while is not used? #575
-
could you please tell me why I am following this documentation https://codesandbox.io/s/priceless-mclaren-8tcjl?file=/pages/index.js
In my code I didn't used |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
From what I see, there is an issue with how PurgeCSS is called. The configuration is asking to look at pages/** files but you are calling PurgeCSS with the CSS in index.js.
|
Beta Was this translation helpful? Give feedback.
From what I see, there is an issue with how PurgeCSS is called. The configuration is asking to look at pages/** files but you are calling PurgeCSS with the CSS in index.js.
PurgeCSS will essentially look at index.js to determine what CSS is used, and will see in this case
red1
from