1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-30 20:47:46 +00:00

config: disable css minification

This commit is contained in:
RGBCube 2025-06-01 22:54:23 +03:00
parent f7a5cd76c1
commit a80a934c77
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 3 additions and 18 deletions

View file

@ -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({
options: {
minify_css: true,
// TODO: This breaks tailwind.
// minify_css: true,
minify_js: true,
},
}));

View file

@ -56,21 +56,6 @@ layout: null
<!-- STYLES -->
<link href="/assets/css/fonts.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>
<body class="bg-white text-black dark:bg-black dark:text-white">