Skip to content

Commit

Permalink
Update svelte.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanGlyph authored Oct 25, 2021
1 parent 7a79916 commit c991d9b
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@ const config = {
kit: {
// hydrate the <div id="svelte"> 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
})]
Expand Down

0 comments on commit c991d9b

Please sign in to comment.