iot-heater/dashboard/svelte.config.js
Gašper Dobrovoljc 8e64445c25
Work
2023-03-27 14:50:35 +02:00

25 lines
451 B
JavaScript

import preprocess from 'svelte-preprocess';
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [
vitePreprocess(),
preprocess({
postcss: true,
}),
],
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: null,
precompress: false,
strict: true,
}),
},
};
export default config;