astro/examples/framework-svelte/svelte.config.js
Bjorn Lu a342a486c2
Refactor Svelte preprocess integration handling (#5901)
* Let user setup vitePreprocess

* Abstract function

* Add changeset

* Update svelte syntax

* Make fallback

* Fix docs

* Update changeset

* Fix types
2023-01-19 08:13:40 -05:00

5 lines
102 B
JavaScript

import { vitePreprocess } from '@astrojs/svelte';
export default {
preprocess: vitePreprocess(),
};