import { defineNuxtConfig } from "nuxt/config"; export default defineNuxtConfig({ ssr: true, devServer: { port: 3000, host: '0.0.0.0' }, vite: { server: { allowedHosts: true, headers: { 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'x-frame-options': 'DENY', 'x-xss-protection': '1; mode=block', 'cross-origin-opener-policy': 'same-origin', 'cross-origin-embedder-policy': 'require-corp', 'access-control-allow-origin': '*', } }, }, modules: ['@unocss/nuxt', ['nuxt-ssr-lit', { litElementPrefix: 'impost-' }]], nitro: { moduleSideEffects: ["@impost/widget"], experimental: { wasm: true, }, }, vue: { compilerOptions: { isCustomElement: (tag) => tag.startsWith('impost-'), }, }, // typescript: { // tsConfig: { // compilerOptions: { // paths: { // "~/*": ["./app/*"], // "~~/*": ["./*"], // } // } // } // } compatibilityDate: '2025-11-05', });