app.craft.vin/svelte.config.js
Felix Baumgärtner b8ad31544e added aframe, nipplejs and skeleton (with custom theme)
changed adapter to static
2024-01-13 23:30:21 +01:00

22 lines
509 B
JavaScript

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: ['.svelte'],
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
})
},
preprocess: [vitePreprocess({})]
};
export default config;