1
Fork 0
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:
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({ site.use(minify_html({
options: { options: {
minify_css: true, // TODO: This breaks tailwind.
// minify_css: true,
minify_js: true, minify_js: true,
}, },
})); }));

View file

@ -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">