mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-04 11:48:16 +08:00
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:

committed by
Patrik Svensson

parent
8ae3d258e4
commit
899dd20b65
@ -1,7 +1,17 @@
|
||||
const defaultTheme = require("tailwindcss/defaultTheme");
|
||||
|
||||
module.exports = {
|
||||
content: ["./output/**/*.html"],
|
||||
/*
|
||||
we don't need to scan all the doc files because they all share the same layout. so we can exclude all but one of the namespace (Spectre.Console.Advanced) from the scan
|
||||
we'll get all the css classes that we need to build up the styles for the rest.
|
||||
*/
|
||||
content: [
|
||||
"./output/**/*.html",
|
||||
"!./output/api/Spectre.Console/**/*.html",
|
||||
"!./output/api/Spectre.Console.Cli/**/*.html",
|
||||
"!./output/api/Spectre.Console/Spectre.Console.Cli.Unsafe/**/*.html",
|
||||
"!./output/api/Spectre.Console/Spectre.Console.Rendering/**/*.html"
|
||||
],
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
|
Reference in New Issue
Block a user