mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-09-19 11:03:52 +00:00
inline css in prod
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user