From a87e27e03f3543c9cc1b33f54ebfbe5ac13cb222 Mon Sep 17 00:00:00 2001 From: Owen Date: Wed, 2 Sep 2026 23:02:00 +0200 Subject: [PATCH] undo inline css in prod --- src/routes/__root.tsx | 10 ++++------ vite.config.ts | 5 ----- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index 656de29..0c993db 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -35,12 +35,10 @@ export const Route = createRootRoute({ }, ], links: [ - // { - // rel: "stylesheet", - // href: appCss, - // }, - ...(import.meta.env.DEV ? [{ rel: "stylesheet", href: appCss }] : []), - + { + rel: "stylesheet", + href: appCss, + }, { rel: "icon", href: "/favicon.svg", diff --git a/vite.config.ts b/vite.config.ts index c5c392d..989cc24 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -20,11 +20,6 @@ const config = defineConfig({ crawlLinks: true, failOnError: true, }, - server: { - build: { - inlineCss: true, - }, - }, pages: [ { path: "/callback",