⬆️ Updated Svelte and config files to use Vite

This commit is contained in:
Mawoka
2022-07-08 21:13:36 +02:00
parent bbd30613e2
commit 0ad5777d7b
4 changed files with 430 additions and 847 deletions
+15
View File
@@ -0,0 +1,15 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { isoImport } from 'vite-plugin-iso-import';
/** @type {import('vite').UserConfig} */
const config = {
plugins: [sveltekit(), isoImport()],
optimizeDeps: {
include: ['swiper']
},
build: {
sourcemap: true
}
};
export default config;