Skip to content

Commit

Permalink
chore(storybook): Fixes and updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
himerus committed Feb 25, 2024
1 parent 07006aa commit 5122238
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { StorybookConfig } from '@storybook/web-components-vite';
import { StorybookConfig } from '@storybook/web-components-vite';
import { mergeConfig } from 'vite';

const config: StorybookConfig = {
Expand All @@ -8,7 +8,7 @@ const config: StorybookConfig = {
name: '@storybook/web-components-vite',
options: {},
},
staticDirs: ['../public', '../dist'],
staticDirs: ['../public'],
async viteFinal(config, { configType }) {
// Be sure to return the customized config
return mergeConfig(config, {
Expand Down
3 changes: 1 addition & 2 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"scripts": {
"start": "yarn dev",
"dev": "yarn watch",
"watch": "yarn build:vite && npm-run-all -n -p 'watch:**'",
"watch:bundle": "yarn build:vite --watch",
"watch": "npm-run-all -n -p 'watch:**'",
"watch:vite": "yarn vite dev --port 6001",
"watch:storybook": "yarn storybook dev -p 6002",
"build": "npm-run-all -n -s 'build:**'",
Expand Down

0 comments on commit 5122238

Please sign in to comment.