Skip to content

Commit

Permalink
Update Storybook config
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinot committed Jun 24, 2024
1 parent c20c7b4 commit bc64337
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: 20
- name: Install dependencies
run: npm ci
run: yarn
#👇 Adds Chromatic as a step in the workflow
- name: Run Chromatic
uses: chromaui/action@latest
Expand Down
4 changes: 4 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ const config = {
name: '@storybook/vue3-vite',
options: {},
},
viteFinal(config) {
config.plugins = (config.plugins ?? []).filter((plugin) => plugin && 'name' in plugin && plugin.name !== 'vite:dts');
return config;
},
};
export default config;

0 comments on commit bc64337

Please sign in to comment.