Files
svelte-mud/svelte.config.js
T

25 lines
645 B
JavaScript
Raw Normal View History

2025-04-21 14:12:36 +02:00
import nodeAdapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
2026-09-09 13:04:56 +02:00
compilerOptions: {
compatibility: { componentApi: 4 }
},
2025-04-21 14:12:36 +02:00
kit: {
adapter: nodeAdapter({
// You can customize the Node.js adapter options here:
// out: 'build', // Output directory for the build
// precompress: false, // Whether to precompress assets
// envPrefix: '', // Environment variable prefix
}),
alias: {
$lib: 'src/lib'
}
}
};
export default config;