iot-heater/dashboard/svelte.config.js

25 lines
451 B
JavaScript
Raw Normal View History

2023-03-27 12:50:35 +00:00
import preprocess from 'svelte-preprocess';
2023-02-18 22:09:24 +00:00
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
2023-03-27 12:50:35 +00:00
preprocess: [
vitePreprocess(),
preprocess({
postcss: true,
}),
],
2023-02-18 22:09:24 +00:00
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: null,
precompress: false,
2023-03-27 12:50:35 +00:00
strict: true,
}),
},
2023-02-18 22:09:24 +00:00
};
export default config;