TypeError: Cannot read property 'match' of undefined
at defaultExtractor (D:\windmill-dashboard-react\node_modules\tailwindcss\lib\lib\purgeUnusedStyles.js:93:36)
at m (D:\windmill-dashboard-react\node_modules\purgecss\lib\purgecss.js:1:3149)
at x.extractSelectorsFromString (D:\windmill-dashboard-react\node_modules\purgecss\lib\purgecss.js:1:5350)
at D:\windmill-dashboard-react\node_modules\@fullhuman\postcss-purgecss\lib\postcss-purgecss.js:1:536
Problem description:
Apparently purge doesn't accept an object of styles, but the problem also persists when trying something like:
windmill-dashboard-react
version:0.1.0-alpha.1
Relevant code or config:
The content of the
require
d theme: windmill-react-ui defaultThemeThis projects tailwind.config.js
What you did:
npm run build
What happened:
Problem description:
Apparently
purge
doesn't accept an object of styles, but the problem also persists when trying something like:But in this case, instead of an Error, it results in a CSS build without the classes from the
default.js
files.