Skip to content

Commit

Permalink
fix: path to stories in storybook configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Amiditin committed Aug 23, 2024
1 parent 99b09a7 commit 6c3f44a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui-admin/design/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const getAbsolutePath = (value: string): string =>
dirname(require.resolve(join(value, 'package.json')))

const config: StorybookConfig = {
stories: ['../../**/*.stories.@(js|jsx|mjs|ts|tsx)'],
stories: ['../../**/src/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: [
getAbsolutePath('@storybook/addon-webpack5-compiler-swc'),
getAbsolutePath('@storybook/addon-links'),
Expand Down
2 changes: 1 addition & 1 deletion ui-parts/design/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const getAbsolutePath = (value: string): string =>
dirname(require.resolve(join(value, 'package.json')))

const config: StorybookConfig = {
stories: ['../../**/*.stories.@(js|jsx|mjs|ts|tsx)'],
stories: ['../../**/src/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: [
getAbsolutePath('@storybook/addon-webpack5-compiler-swc'),
getAbsolutePath('@storybook/addon-links'),
Expand Down

0 comments on commit 6c3f44a

Please sign in to comment.