Skip to content

Commit

Permalink
Merge pull request #22201 from storybookjs/feat/fix-lit-vite-sandboxes
Browse files Browse the repository at this point in the history
Build: Fix lit sandboxes
  • Loading branch information
yannbf committed Apr 21, 2023
2 parents fa77bd9 + 68ad74f commit 6c20575
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/lib/cli/src/sandbox-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ const baseTemplates = {
},
'lit-vite/default-js': {
name: 'Lit Vite (JS)',
script: 'npm create vite@latest --yes . -- --template lit',
script:
'npm create vite@latest --yes . -- --template lit && echo "export default {}" > vite.config.js',
expected: {
framework: '@storybook/web-components-vite',
renderer: '@storybook/web-components',
Expand All @@ -323,7 +324,8 @@ const baseTemplates = {
},
'lit-vite/default-ts': {
name: 'Lit Vite (TS)',
script: 'npm create vite@latest --yes . -- --template lit-ts',
script:
'npm create vite@latest --yes . -- --template lit-ts && echo "export default {}" > vite.config.js',
expected: {
framework: '@storybook/web-components-vite',
renderer: '@storybook/web-components',
Expand Down

0 comments on commit 6c20575

Please sign in to comment.