Skip to content

Commit

Permalink
fix(nuxt): don't optimize @histoire/plugin-nuxt
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Feb 16, 2023
1 parent 9076776 commit 07397ed
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/histoire-plugin-nuxt/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ export function HstNuxt (): Plugin {
plugins,
css: viteConfig.css,
publicDir: viteConfig.publicDir,
optimizeDeps: viteConfig.optimizeDeps,
optimizeDeps: {
...viteConfig.optimizeDeps,
exclude: [
...viteConfig.optimizeDeps.exclude,
'@histoire/plugin-nuxt',
],
},
// @ts-expect-error Vue-specific config
vue: viteConfig.vue,
logLevel: 'info',
Expand Down

0 comments on commit 07397ed

Please sign in to comment.