chore: svelte 5 🎉 (#13738)

chore: svelte 5

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
This commit is contained in:
Daniel Dietzler 2024-11-02 16:49:07 +01:00 committed by GitHub
parent fed882a28a
commit eadcbd52fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
61 changed files with 287 additions and 217 deletions

View file

@ -1,5 +1,6 @@
import { enhancedImages } from '@sveltejs/enhanced-img';
import { sveltekit } from '@sveltejs/kit/vite';
import { svelteTesting } from '@testing-library/svelte/vite';
import path from 'node:path';
import { visualizer } from 'rollup-plugin-visualizer';
import { defineConfig } from 'vite';
@ -37,6 +38,7 @@ export default defineConfig({
})
: undefined,
enhancedImages(),
svelteTesting(),
],
optimizeDeps: {
entries: ['src/**/*.{svelte,ts,html}'],
@ -49,6 +51,5 @@ export default defineConfig({
sequence: {
hooks: 'list',
},
alias: [{ find: /^svelte$/, replacement: 'svelte/internal' }],
},
});