Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit a6ed4f4

Browse files
author
lynx
committed
regex patterns for purgecss
1 parent 175dcdd commit a6ed4f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postcss.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const tailwindcss = require("tailwindcss");
22
const purgecss = require("@fullhuman/postcss-purgecss")({
33
content: ["**/*.jsx", "public/index.html"],
44
css: ["src/css/index.css"],
5-
whitelist: ["bg-blue-dark"],
5+
whitelistPatterns: [/blue-dark$/, /langmenu/, /mobilenav/, /leaflet/],
66
extractors: [
77
{
88
extractor: class {

0 commit comments

Comments
 (0)