app.craft.vin/svelte.config.js

22 lines
509 B
JavaScript
Raw Permalink Normal View History

import adapter from '@sveltejs/adapter-static';
2024-01-03 20:19:14 +00:00
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
2024-01-03 19:35:06 +00:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: ['.svelte'],
2024-01-03 19:35:06 +00:00
kit: {
adapter: adapter({
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: undefined,
precompress: false,
strict: true
})
2024-01-03 20:19:14 +00:00
},
preprocess: [vitePreprocess({})]
2024-01-03 19:35:06 +00:00
};
export default config;