diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index 0c993db..656de29 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -35,10 +35,12 @@ export const Route = createRootRoute({ }, ], links: [ - { - rel: "stylesheet", - href: appCss, - }, + // { + // rel: "stylesheet", + // href: appCss, + // }, + ...(import.meta.env.DEV ? [{ rel: "stylesheet", href: appCss }] : []), + { rel: "icon", href: "/favicon.svg", diff --git a/vite.config.ts b/vite.config.ts index 989cc24..c5c392d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -20,6 +20,11 @@ const config = defineConfig({ crawlLinks: true, failOnError: true, }, + server: { + build: { + inlineCss: true, + }, + }, pages: [ { path: "/callback",