inline css in prod

This commit is contained in:
2026-09-02 23:00:03 +02:00
parent 51bfab5a64
commit 6d2ba636ad
2 changed files with 11 additions and 4 deletions
+6 -4
View File
@@ -35,10 +35,12 @@ export const Route = createRootRoute({
}, },
], ],
links: [ links: [
{ // {
rel: "stylesheet", // rel: "stylesheet",
href: appCss, // href: appCss,
}, // },
...(import.meta.env.DEV ? [{ rel: "stylesheet", href: appCss }] : []),
{ {
rel: "icon", rel: "icon",
href: "/favicon.svg", href: "/favicon.svg",
+5
View File
@@ -20,6 +20,11 @@ const config = defineConfig({
crawlLinks: true, crawlLinks: true,
failOnError: true, failOnError: true,
}, },
server: {
build: {
inlineCss: true,
},
},
pages: [ pages: [
{ {
path: "/callback", path: "/callback",