Skip to content

Commit

Permalink
fix: unable to obtain the injected Symbol value (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolking authored Dec 18, 2024
1 parent 40f5c3e commit 46e41c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ export function resolveOptions () {
nuxt.options.vite.optimizeDeps ||= {}
nuxt.options.vite.optimizeDeps.include ||= []
nuxt.options.vite.optimizeDeps.include.push(...optimizeDeps)
nuxt.options.vite.optimizeDeps.exclude ||= []
nuxt.options.vite.optimizeDeps.exclude.push(libraryName)
}

0 comments on commit 46e41c0

Please sign in to comment.