forked from longpdo/longpdo.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpurgecss.config.js
More file actions
27 lines (27 loc) · 786 Bytes
/
Copy pathpurgecss.config.js
File metadata and controls
27 lines (27 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = {
content: ["_site/**/*.html", "_site/**/*.js"],
css: ["_site/assets/css/*.css"],
output: "_site/assets/css/",
skippedContentGlobs: ["_site/assets/**/*.html"],
safelist: [
"collapse",
"collapsing",
"show",
"dropdown-menu",
"dropdown-item",
"table",
"table-dark",
"table-hover",
"table-responsive",
"af-tooltip",
"af-popover",
"font-weight-bold",
"font-weight-medium",
"font-weight-lighter",
// medium-zoom injects these at runtime, so they never appear in the static
// HTML PurgeCSS scans; without them the zoom overlay's z-index rule is purged
// and page chrome (scroll-progress bar, ToC) bleeds through a zoomed image.
"medium-zoom-overlay",
"medium-zoom-image--opened",
],
};