Skip to content

Commit

Permalink
fix: add @bugsnag/plugin-vue and @bugsnag/js as nested instead of roo…
Browse files Browse the repository at this point in the history
…t CommonJS depedencies to be optimized
  • Loading branch information
Jamie4224 authored Apr 8, 2024
1 parent b3d7d21 commit 5eb1882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default defineNuxtModule<ModuleOptions>({
config.optimizeDeps = config.optimizeDeps || {}
config.optimizeDeps.include = config.optimizeDeps.include || []
config.optimizeDeps.include.push(
...['@bugsnag/plugin-vue', '@bugsnag/js']
...["nuxt-bugsnag > @bugsnag/plugin-vue", "nuxt-bugsnag > @bugsnag/js"]
)
})

Expand Down

0 comments on commit 5eb1882

Please sign in to comment.