Optimizing build

* Upgrades Statiq.Web to which contains analyzer perf improvements
* Dropping script front matter when not needed from blog archives
* Trimming down the number of files tailwind examines when building the css file to only a subset of the docs.
* Updates Playwright to latest version
* Updates tailwind and asciienma to latest
* Removes npm packages that are no longer required
This commit is contained in:
Phil Scott
2022-02-21 22:12:30 -05:00
committed by Patrik Svensson
parent 8ae3d258e4
commit 899dd20b65
7 changed files with 70 additions and 1505 deletions

View File

@ -1,9 +1,9 @@
ArchiveSources: => $"blog/posts/**/*"
ArchiveSources: blog/posts/**/*
ArchiveKey: Category
ArchiveKeyComparer: => StringComparer.OrdinalIgnoreCase.ToConvertingEqualityComparer()
ArchiveDestination: >
=> GetInt("Index") <= 1 ? $"blog/{NormalizedPath.OptimizeFileName(GetString("GroupKey"))}/index.html" : $"blog/{NormalizedPath.OptimizeFileName(GetString("GroupKey"))}/{GetInt("Index")}.html"
ArchivePageSize: => 5
ArchivePageSize: 5
ArchiveOrderKey: published
ArchiveOrderDescending: true
Title: Categories

View File

@ -1,8 +1,8 @@
Title: Recent Blog Posts
ArchiveSources: => $"blog/posts/**/*"
ArchiveSources: blog/posts/**/*
ArchiveDestination: >
=> GetInt("Index") <= 1 ? $"blog/index.html" : $"blog/{GetInt("Index")}.html"
ArchivePageSize: => 5
ArchivePageSize: 5
ArchiveOrderKey: Published
ArchiveOrderDescending: true
Hidden: >