mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
config: disable css minification
This commit is contained in:
parent
f7a5cd76c1
commit
a80a934c77
2 changed files with 3 additions and 18 deletions
6
site.ts
6
site.ts
|
@ -118,12 +118,12 @@ site.use(sitemap({
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// TODO: Fix this. Tailwind doesn't process some classes when I inline links.
|
site.use(inline());
|
||||||
// site.use(inline());
|
|
||||||
|
|
||||||
site.use(minify_html({
|
site.use(minify_html({
|
||||||
options: {
|
options: {
|
||||||
minify_css: true,
|
// TODO: This breaks tailwind.
|
||||||
|
// minify_css: true,
|
||||||
minify_js: true,
|
minify_js: true,
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -56,21 +56,6 @@ layout: null
|
||||||
<!-- STYLES -->
|
<!-- STYLES -->
|
||||||
<link href="/assets/css/fonts.css" rel="stylesheet" inline>
|
<link href="/assets/css/fonts.css" rel="stylesheet" inline>
|
||||||
<link href="/assets/css/default.css" rel="stylesheet" inline>
|
<link href="/assets/css/default.css" rel="stylesheet" inline>
|
||||||
|
|
||||||
<!-- TODO: DELETE WORKAROUND FOR INLINING BEING DISABLED -->
|
|
||||||
<style>
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
html, body {
|
|
||||||
background: black;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
|
||||||
html, body {
|
|
||||||
background: white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="bg-white text-black dark:bg-black dark:text-white">
|
<body class="bg-white text-black dark:bg-black dark:text-white">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue