From c787957ddf3277687e20df4fdb60dc1394c03773 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 24 Sep 2026 06:50:59 -0400 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20load=20sweep-shared.css=20once?= =?UTF-8?q?=20from=20main.ts=20=E2=80=94=20a=20shared=20=20br?= =?UTF-8?q?eaks=20vite=20build=20(#3207)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- frontend/src/assets/sweep-shared.css | 2 +- frontend/src/components/NoteSweepPane.vue | 1 - frontend/src/components/rules/PreferenceDriftPane.vue | 1 - frontend/src/components/rules/RuleHistoryPanel.vue | 1 - frontend/src/components/rules/RuleSweepPane.vue | 1 - frontend/src/main.ts | 3 +++ 6 files changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/src/assets/sweep-shared.css b/frontend/src/assets/sweep-shared.css index 0127ceb..edae188 100644 --- a/frontend/src/assets/sweep-shared.css +++ b/frontend/src/assets/sweep-shared.css @@ -6,7 +6,7 @@ * right, a small grid of facts, and a row of plain buttons. It was written * out four times, scoped, before this sheet existed. * - * Imported UNSCOPED (` - - - -