Skip to content

Commit

Permalink
fix(module): optimize deps for gradient-avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jan 27, 2022
1 parent 10f2a19 commit 09033bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,11 @@ export default defineNuxtModule<ModuleOptions>({

// Add CSS
nuxt.options.css.push(resolve(runtimeDir, 'css', 'forms.css'))

nuxt.options.vite = {
optimizeDeps: {
include: ['gradient-avatar']
}
}
}
})

1 comment on commit 09033bb

@vercel
Copy link

@vercel vercel bot commented on 09033bb Jan 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.