From 0bfff7774ba110dee1851384374e56a1c56fec56 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sat, 9 Jul 2022 12:02:22 +0200 Subject: [PATCH] :ambulance: Fixed Frontend by downgrading svelte --- frontend/vite.config.js.new | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 frontend/vite.config.js.new diff --git a/frontend/vite.config.js.new b/frontend/vite.config.js.new new file mode 100644 index 0000000..3b7e0a0 --- /dev/null +++ b/frontend/vite.config.js.new @@ -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;