import { defineNuxtConfig } from "nuxt/config"; import blogConfig from "./blog.config"; // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ //@ts-ignore site: { url: blogConfig.site, name: blogConfig.title }, telemetry: false, devtools: { enabled: true }, modules: [ "@nuxt/content", "@nuxtjs/tailwindcss", "@tailwindcss/typography", "@nuxt/icon", "nuxt-og-image" ], future: { compatibilityVersion: 4 }, app: { head: { htmlAttrs: { lang: "en" }, script: [ { defer: true, src: "https://assets.onedollarstats.com/stonks.js" } ] } }, runtimeConfig: { public: blogConfig }, content: { experimental: { sqliteConnector: "native" } }, ogImage: { fonts: [ { name: "Recoleta", weight: 700, path: "/fonts/recoleta-bold.ttf" }, { name: "Orkney Regular", weight: 700, path: "/fonts/orkney-regular.ttf" } ] }, icon: { clientBundle: { icons: [ "ant-design:github-filled", "ri:mastodon-fill", "ri:bluesky-fill", "ri:sun-fill", "ri:moon-fill" ], scan: true } }, typescript: { typeCheck: true, tsConfig: { compilerOptions: { strict: true } } }, routeRules: { "/": { prerender: true }, "/about": { prerender: true }, "/posts/**": { prerender: true } }, nitro: { prerender: { routes: ["/", "/about"], crawlLinks: true } }, compatibilityDate: "2025-11-05" });