import { sveltekit } from '@sveltejs/kit/vite'; import tailwindcss from '@tailwindcss/vite'; import { defineConfig } from 'vite'; export default defineConfig({ plugins: [tailwindcss(), sveltekit()], ssr: { // Force these packages to be bundled into the server output rather than // treated as external requires. The production Docker image has no // node_modules, so anything used in server-side code must be inlined. noExternal: ['marked'] } });