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 was archived by the owner on Feb 1, 2020. It is now read-only.
this doesn't work (below 2 classes don't appear in the final css bundle):
constclassName=`no-underline bg-blue-lighter`
this works (single quote):
constclassName='no-underline bg-blue-lighter'
My config:
constpath=require('path');constglob=require('glob');constPurgecssPlugin=require('purgecss-webpack-plugin');classTailwindExtractor{staticextract(content){returncontent.match(/[A-z0-9-:/]+/g)||[];}}newPurgecssPlugin({// files to scan for class names.paths: glob.sync(path.join(__dirname,'./src/**/*.js')),extractors: [{extractor: TailwindExtractor,extensions: ['js','jsx'],},],whitelist: ['html','body'],whitelistPatterns: [],});
The text was updated successfully, but these errors were encountered:
this doesn't work (below 2 classes don't appear in the final css bundle):
this works (single quote):
My config:
The text was updated successfully, but these errors were encountered: