Skip to content

Commit

Permalink
build(astro): improve purgecss matching globs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zweihander-Main committed Sep 15, 2024
1 parent e7e63f9 commit c24f66d
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ export default defineConfig({
purgecss({
fontFace: false,
variables: true,
safelist: [
/leaflet-pane/,
/leaflet-map/,
/leaflet-control/,
/leaflet-bar/,
/leaflet-disabled/,
/leaflet-top/,
/leaflet-left/,
/parchment/,
],
safelist: {
standard: [
/leaflet-pane/,
/leaflet-map/,
/leaflet-control/,
/leaflet-bar/,
/leaflet-disabled/,
/leaflet-top/,
/leaflet-left/,
/parchment/,
],
}),
sitemap(),
],
Expand Down

0 comments on commit c24f66d

Please sign in to comment.