Major Changes
-
#5901
a342a486c
Thanks @bluwy! - The fallback Svelte preprocessor will only be applied if a custompreprocess
option is not passed to thesvelte()
integration option, or in thesvelte.config.js
file.To support IDE autocompletion, or if you're migrating from
@astrojs/svelte
v1, you can create asvelte.config.js
file with:import { vitePreprocess } from '@astrojs/svelte'; export default { preprocess: vitePreprocess(), };
This file will also be generated by
astro add svelte
by default.