From a342a486c2831461e24e6c2f1ca8a9d3e15477b6 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Thu, 19 Jan 2023 21:13:40 +0800 Subject: 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 --- examples/framework-svelte/svelte.config.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 examples/framework-svelte/svelte.config.js (limited to 'examples/framework-svelte/svelte.config.js') diff --git a/examples/framework-svelte/svelte.config.js b/examples/framework-svelte/svelte.config.js new file mode 100644 index 000000000..cbaee33df --- /dev/null +++ b/examples/framework-svelte/svelte.config.js @@ -0,0 +1,5 @@ +import { vitePreprocess } from '@astrojs/svelte'; + +export default { + preprocess: vitePreprocess(), +}; -- cgit v1.2.3