import adapter from '@sveltejs/adapter-node';
import preprocess from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
    extensions: ['.svelte', '.md'],
    // Consult https://github.com/sveltejs/svelte-preprocess
    // for more information about preprocessors
    preprocess: [preprocess()],
    kit: {
        
        adapter: adapter({ split: false,  }),
        alias: {
            $lib: '/src/lib',
            $srcPrisma: '/src/prisma',
            $generatedPrisma: '/generated/prisma/*',
        },
        env: {
            publicPrefix: 'PUBLIC_',
            privatePrefix: 'PRIVATE_',
        },
    },
};

export default config;
