0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
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(),
};