mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Hugo generates stats about the HTML elements, IDs and classes that can be found in the website, and we post-process the rendered CSS with postcss-purgecss that uses those stats to remove unused selectors. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
7 lines
163 B
TOML
7 lines
163 B
TOML
# Settings only required when the website is built for production.
|
|
|
|
# Enable stats to use them to optimize the CSS.
|
|
[build]
|
|
[build.buildStats]
|
|
enable = true
|