diff --git a/svelte.config.js b/svelte.config.js
index 9ca91ff..4366275 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -7,18 +7,21 @@ const config = {
kit: {
// hydrate the
element in src/app.html
target: '#svelte'
+ vite: {
+ optimizeDeps: {
+ include: [
+ '@apollo/client/core',
+ '@apollo/client/cache',
+ '@apollo/client/link/ws',
+ '@apollo/client/link/context',
+ '@apollo/client/link/error',
+ '@apollo/client/utilities'
+ ],
+ exclude: ['@apollo/client']
+ },
+ }
},
- optimizeDeps: {
- include: [
- '@apollo/client/core',
- '@apollo/client/cache',
- '@apollo/client/link/ws',
- '@apollo/client/link/context',
- '@apollo/client/link/error',
- '@apollo/client/utilities'
- ],
- exclude: ['@apollo/client']
- },
+
preprocess: [preprocess({
postcss: true
})]