fix(frontend): load sweep-shared.css once from main.ts — a shared <style src> breaks vite build (#3207)
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 12s
CI & Build / integration (push) Successful in 52s
CI & Build / TypeScript typecheck (push) Successful in 53s
CI & Build / Python tests (push) Successful in 1m36s
CI & Build / Build & push image (push) Canceled after 35s
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 12s
CI & Build / integration (push) Successful in 52s
CI & Build / TypeScript typecheck (push) Successful in 53s
CI & Build / Python tests (push) Successful in 1m36s
CI & Build / Build & push image (push) Canceled after 35s
plugin-vue throws "Cannot read properties of undefined (reading 'scoped')"
when several SFCs share one src stylesheet. vue-tsc passed, so only the
image job caught it; :dev has not rebuilt since 22b7a92.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -149,4 +149,3 @@ h2 { margin: 0; font-size: 1.05rem; }
|
||||
/* A check can be a long URL or command with no break point. */
|
||||
.sweep-check dd { overflow-wrap: anywhere; }
|
||||
</style>
|
||||
<style src="@/assets/sweep-shared.css" />
|
||||
|
||||
@@ -194,4 +194,3 @@ onMounted(() => store.fetchDrift());
|
||||
row of facts. */
|
||||
.sweep-actions { align-items: baseline; gap: var(--fs-space-3); flex-wrap: wrap; margin-top: 0; }
|
||||
</style>
|
||||
<style src="@/assets/sweep-shared.css" />
|
||||
|
||||
@@ -269,4 +269,3 @@ watch(() => props.ruleId, () => { selected.value = null; load(); });
|
||||
}
|
||||
h4 { margin: var(--fs-space-2) 0 0; font-size: var(--fs-size-tiny); color: var(--fs-text-tertiary); }
|
||||
</style>
|
||||
<style src="@/assets/sweep-shared.css" />
|
||||
|
||||
@@ -124,4 +124,3 @@ onMounted(reload);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
</style>
|
||||
<style src="@/assets/sweep-shared.css" />
|
||||
|
||||
Reference in New Issue
Block a user