Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Working Groups
AsciiDoc WG
asciidoc.org
Commits
e0cf2b7a
Verified
Commit
e0cf2b7a
authored
Apr 19, 2022
by
Dan Allen
Browse files
remove font-display: swap property on font declrations
parent
c570b437
Pipeline
#3460
passed with stage
in 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.eleventy.js
View file @
e0cf2b7a
...
...
@@ -34,6 +34,12 @@ module.exports = function (eleventyConfig, rest) {
postcssAtImport
,
autoprefixer
,
postcssPresetEnv
({
browsers
:
'
defaults,not IE 11
'
}),
(
css
,
result
)
=>
{
result
.
root
.
walk
((
node
)
=>
{
if
(
node
.
type
===
'
decl
'
&&
node
.
prop
===
'
font-display
'
)
node
.
remove
()
})
return
result
},
cssnano
({
preset
:
cssnanoPreset
})
])
.
process
(
inputContent
,
{
from
:
inputPath
,
to
:
'
_site/assets/css/main.css
'
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment