22 lines
580 B
JavaScript
22 lines
580 B
JavaScript
|
|
import nodeAdapter from '@sveltejs/adapter-node';
|
||
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||
|
|
|
||
|
|
/** @type {import('@sveltejs/kit').Config} */
|
||
|
|
const config = {
|
||
|
|
preprocess: vitePreprocess(),
|
||
|
|
|
||
|
|
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;
|