Skip to content

Commit

Permalink
fix: remove some optimized deps from optimizeDeps (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored Apr 25, 2024
1 parent d6da10f commit 7ac9245
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,14 +315,11 @@ export default defineNuxtModule<SanityModuleOptions>({
})
nuxt.options.vite.optimizeDeps = defu(nuxt.options.vite.optimizeDeps, {
include: [
'@nuxtjs/sanity > @sanity/core-loader > async-cache-dedupe',
'@nuxtjs/sanity > @sanity/visual-editing > @sanity/visual-editing > react-is',
'@nuxtjs/sanity > @sanity/visual-editing > react',
'@nuxtjs/sanity > @sanity/visual-editing > react/jsx-runtime',
'@nuxtjs/sanity > @sanity/visual-editing > react-dom',
'@nuxtjs/sanity > @sanity/visual-editing > react-dom/client',
'@sanity/client > get-it > debug',
'@sanity/client > get-it > parse-headers',
'@sanity/client',
],
})
Expand Down

0 comments on commit 7ac9245

Please sign in to comment.