Skip to content

Commit

Permalink
removed {pattern ...}
Browse files Browse the repository at this point in the history
  • Loading branch information
Mole1424 committed Jan 11, 2025
1 parent cc1fff9 commit 361195a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions purgecss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ module.exports = {
content: ['*.html', '**/*.html', '*.js', '**/*.js'],
css: ['*.css'],
output: ['.'],
dynamicAttributes: ["data-bs-theme", "aria-expanded", "data-bs-toggle"],
safelist: [
"dropdown", "dropdown-menu", "dropdown-item", "dropdown-toggle",
"nav-item", "nav-link", "me-lg-2",
{ pattern: /^a\[href\^="https:\/\/"\]:not\(/ },
{ pattern: /day-\d/ },
]
dynamicAttributes: ['data-bs-theme', 'aria-expanded', 'data-bs-toggle'],
safelist: [/day-2/, /day-3/, /show/, 'a', 'dropdown', 'dropdown-menu', 'dropdown-item', 'dropdown-toggle', 'nav-item', 'nav-link', 'me-lg-2'],
};

0 comments on commit 361195a

Please sign in to comment.