📦️ Updated Tailwind to v4, updated hardware to uses

This commit is contained in:
2025-02-15 13:29:01 +01:00
parent cfd11a98ec
commit 7c5b228e59
24 changed files with 611 additions and 869 deletions

View File

@ -1,7 +1,7 @@
// @ts-check
import { defineConfig, envField } from "astro/config"
import paraglide from "@inlang/paraglide-astro"
import tailwind from "@astrojs/tailwind"
import tailwindcss from "@tailwindcss/vite"
import sitemap from "@astrojs/sitemap"
import svelte from "@astrojs/svelte"
import node from "@astrojs/node"
@ -20,10 +20,9 @@ export default defineConfig({
output: "server",
i18n: {
defaultLocale: "nb",
locales: ["nb", "en"]
locales: ["nb", "en"],
},
integrations: [
tailwind(),
sitemap(),
mdx(),
svelte(),
@ -31,18 +30,21 @@ export default defineConfig({
paraglide({
// recommended settings
project: "./project.inlang",
outdir: "./src/paraglide" //where your files should be
})
outdir: "./src/paraglide", //where your files should be
}),
],
adapter: node({
mode: "standalone"
mode: "standalone",
}),
vite: {
plugins: [tailwindcss()],
},
env: {
schema: {
DOMAIN: envField.string({ context: "client", access: "public" }),
URL: envField.string({ context: "client", access: "public" }),
GIT_URL: envField.string({ context: "client", access: "public" }),
STATUS_URL: envField.string({ context: "client", access: "public" })
}
}
})
STATUS_URL: envField.string({ context: "client", access: "public" }),
},
},
})