fix: scope Tailwind source detection to src

This commit is contained in:
Julian Sommer
2026-09-14 10:00:50 +10:00
parent a608030330
commit 1eccfded6e
5 changed files with 8 additions and 5 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -7,7 +7,7 @@
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Spinifex Control Panel" />
<script type="module" crossorigin src="/assets/index-CCAZATZb.js"></script>
<script type="module" crossorigin src="/assets/index-D7Czy9DM.js"></script>
<link rel="modulepreload" crossorigin href="/assets/compiler-runtime-D_vZfn79.js">
<link rel="modulepreload" crossorigin href="/assets/removable-D46SpnLb.js">
<link rel="modulepreload" crossorigin href="/assets/query-m8erMzOC.js">
@@ -105,7 +105,7 @@
<link rel="modulepreload" crossorigin href="/assets/_guardrailId.edit-BwpU4WVd.js">
<link rel="modulepreload" crossorigin href="/assets/_serviceName-DZeKEiXF.js">
<link rel="modulepreload" crossorigin href="/assets/_taskId-Q91nlM8B.js">
<link rel="stylesheet" crossorigin href="/assets/index-i7CEvbBC.css">
<link rel="stylesheet" crossorigin href="/assets/index-CbjKLYUI.css">
</head>
<body>
<div id="app"></div>
@@ -1,4 +1,7 @@
@import "tailwindcss";
/* Scope class detection to src. The committed dist/ cannot be gitignored
because spinifexui.go embeds it, so auto-detection would scan the previous
build's output and carry its dead classes into the next one. */
@import "tailwindcss" source(".");
@import "@fontsource-variable/geist";
@import "@fontsource-variable/jetbrains-mono";