🚨 Fixed linter error

This commit is contained in:
Mawoka
2022-07-09 12:14:26 +02:00
parent 60abad499c
commit 27a598f2a3
+11 -2
View File
@@ -6,7 +6,6 @@
import adapter from '@sveltejs/adapter-node';
import preprocess from 'svelte-preprocess';
import { isoImport } from 'vite-plugin-iso-import';
/** @type {import('@sveltejs/kit').Config} */
const config = {
@@ -22,7 +21,17 @@ const config = {
adapter: adapter({
out: 'build',
precompress: true
})
}),
// +++ SOON OBSOLETE +++
vite: {
optimizeDeps: {
include: ['swiper']
},
build: {
sourcemap: true
}
}
// --- SOON OBSOLETE ---
}
};