Skip to content

Commit 64b6c95

Browse files
committed
Improve PurgeCSS integration
- Add better Pug support - Add "modes", with "all" and "conservative" by default - Allow passing options through to PurgeCSS - Rename `paths` to `content` to match PurgeCSS
1 parent b0ac3c5 commit 64b6c95

File tree

8 files changed

+350
-840
lines changed

8 files changed

+350
-840
lines changed

__tests__/fixtures/purge-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="min-h-(screen-4) bg-black! font-%#$@ w-(1/2+8)"></div>
1616

1717
<!-- Pug -->
18-
span.inline-grid.grid-cols-3
18+
span.inline-grid.grid-cols-3(class="px-1.5")
1919
.col-span-2
2020
Hello
2121
.col-span-1.text-center

0 commit comments

Comments
 (0)