mirror of
https://github.com/taogaetz/chefbible.git
synced 2025-12-06 11:47:24 -05:00
25 lines
528 B
JavaScript
25 lines
528 B
JavaScript
import adapter from '@sveltejs/adapter-node';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://svelte.dev/docs/kit/integrations
|
|
// for more information about preprocessors
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
// Use adapter-node for Docker deployments
|
|
adapter: adapter({
|
|
out: 'build',
|
|
precompress: false,
|
|
envPrefix: '',
|
|
polyfill: true,
|
|
esbuild: {
|
|
format: 'cjs'
|
|
}
|
|
}),
|
|
},
|
|
};
|
|
|
|
export default config;
|