Skip to content

Commit

Permalink
fix: add vue as external dependencies in rollupOptions to avoid memor…
Browse files Browse the repository at this point in the history
…y issues in storybook build
  • Loading branch information
chakAs3 committed Dec 24, 2024
1 parent 5a00ad2 commit 5b35771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storybook-addon/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function mergeViteConfig(
)

return mergeConfig(extendedConfig, {
// build: { rollupOptions: { external: ['vue', 'vue-demi'] } },
build: { rollupOptions: { external: ['vue', 'vue-demi'] } },
define: {
'import.meta.client': 'true',
},
Expand Down

0 comments on commit 5b35771

Please sign in to comment.