Skip to content

Commit

Permalink
feat(nuxt): add 'oslo' to excluded optimizeDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Feb 2, 2024
1 parent 63448d3 commit 0940d6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/nuxt/src/runtime/modules/lucia/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ export default definePergelModule<LuciaModuleOptions, ResolvedLuciaModuleOptions

const [driver, db] = options.driver.split(':')

nuxt.options.vite.optimizeDeps ??= {}
nuxt.options.vite.optimizeDeps.exclude ??= []
nuxt.options.vite.optimizeDeps.exclude.push('oslo')

const _setupDrizzle = {
use: '',
}
Expand Down

0 comments on commit 0940d6d

Please sign in to comment.