-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* resolve purge paths * add test for purgecss pattern resolution * resolve purgecss patterns relative to the config file if there is one * account for raw content when transforming purgecss options * append test name to postcss `from` option in purge tests fixes tests hanging * add test for relative purge path resolution in JIT mode
- Loading branch information
1 parent
fe8d31c
commit 6a7d156
Showing
10 changed files
with
1,018 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
purge: ['./*.html'], | ||
theme: { | ||
extend: { | ||
colors: { | ||
'black!': '#000', | ||
}, | ||
spacing: { | ||
1.5: '0.375rem', | ||
'(1/2+8)': 'calc(50% + 2rem)', | ||
}, | ||
minHeight: { | ||
'(screen-4)': 'calc(100vh - 1rem)', | ||
}, | ||
fontFamily: { | ||
'%#$@': 'Comic Sans', | ||
}, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
mode: 'jit', | ||
purge: ['./relative-purge-paths.test.html'], | ||
corePlugins: { preflight: false }, | ||
theme: {}, | ||
plugins: [], | ||
} |
Oops, something went wrong.