mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-08-16 18:49:44 +00:00
21 lines
622 B
JavaScript
21 lines
622 B
JavaScript
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;
|