feat(core): faster CSS minimizer - siteConfig.future.experimental_faster.lightningCssMinimizer (#10522)

This commit is contained in:
Sébastien Lorber 2024-09-27 16:31:13 +02:00 committed by GitHub
parent 3b7c8281d5
commit cba1e02772
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 247 additions and 38 deletions

View file

@ -29,11 +29,11 @@ const EXPECTED_CSS_MARKERS = [
// Note, Infima and site classes are optimized/deduplicated and put at the top
// We don't agree yet on what should be the order for those classes
// See https://github.com/facebook/docusaurus/pull/6222
'.markdown>h2',
'.button--outline.button--active',
'--ifm-color-scheme:light',
'.col[class*=col--]',
'.padding-vert--xl',
'.markdown>h2',
'.button--outline.button--active',
'.footer__link-item',
'.navbar__title',
'.pagination__item',