Skip to content

Commit

Permalink
Test Addon: Add Web Components support
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Dec 12, 2024
1 parent 7fd0f08 commit 10ab439
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions code/addons/test/src/postinstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,12 @@ export default async function postInstall(options: PostinstallOptions) {
? '@storybook/experimental-nextjs-vite'
: info.frameworkPackageName
: info.rendererPackageName &&
['@storybook/react', '@storybook/svelte', '@storybook/vue3'].includes(
info.rendererPackageName
)
[
'@storybook/react',
'@storybook/svelte',
'@storybook/vue3',
'@storybook/web-components',
].includes(info.rendererPackageName)
? info.rendererPackageName
: null;

Expand Down

0 comments on commit 10ab439

Please sign in to comment.