neoiot-ui/svelte.config.js

19 lines
458 B
JavaScript
Raw Normal View History

2023-01-04 21:33:52 +08:00
import preprocess from "svelte-preprocess";
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [vitePreprocess(), preprocess({
postcss: true
})],
kit: {
adapter: adapter()
}
};
export default config;