lasthourcloud/svelte.config.js

26 lines
398 B
JavaScript

import preprocess from 'svelte-preprocess';
import adapter from '@sveltejs/adapter-node';
const config = {
preprocess: preprocess(),
kit: {
adapter: adapter(),
prerender: {
enabled: false
},
floc: true,
vite: {
optimizeDeps: {
exclude: ['svelte-kit-cookie-session']
},
server: {
fs: {
allow: ['./src/lib/locales/']
}
}
}
}
};
export default config;