import adapter from '@sveltejs/adapter-node'; import { vitePreprocess } from '@sveltejs/kit/vite'; import { config as dotEnvConfig } from 'dotenv'; dotEnvConfig({ path: '../.env' }); /** @type {import('@sveltejs/kit').Config} */ const config = { // Consult https://kit.svelte.dev/docs/integrations#preprocessors // for more information about preprocessors preprocess: vitePreprocess(), kit: { // adapter-node uses adapter() method here; production env will always run with node. // See https://kit.svelte.dev/docs/adapters for more information about adapters. adapter: adapter() } }; export default config;