// import { loadConfig } from "c12"; import pkg from "../../package.json"; // import { defaultConfig } from "config-manager/config.type"; // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ modules: ["@nuxtjs/seo", "@nuxtjs/tailwindcss", "@vueuse/nuxt"], app: { head: { link: [ { rel: "icon", href: "/favicon.png", type: "image/png", }, ], htmlAttrs: { lang: "en-us" }, }, }, nitro: { compressPublicAssets: { gzip: false, brotli: false, }, preset: "bun", minify: true, prerender: { failOnError: true, }, }, devServer: { port: 5173, }, schemaOrg: { enabled: false, }, vite: { define: { __VERSION__: JSON.stringify(pkg.version), }, server: { hmr: { clientPort: 5173, }, }, }, runtimeConfig: { public: { language: "en-US", titleSeparator: "ยท", siteName: "Lysand", trailingSlash: true, // @ts-ignore url2: async () => await Promise.resolve("cheese"), //url: `${config?.http.bind}:${config?.http.bind_port}`, }, }, site: { url: "https://social.lysand.org", }, });