Skip to content

Commit

Permalink
Merge pull request #30133 from storybookjs/alias-sb-original-image-co…
Browse files Browse the repository at this point in the history
…ntext

Core: Alias `sb-original/image-context` in internal Storybook config
  • Loading branch information
yannbf authored Dec 24, 2024
2 parents 537acf2 + 5a7af57 commit 44e789c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type { StorybookConfig } from '../frameworks/react-vite';

const componentsPath = join(__dirname, '../core/src/components');
const managerApiPath = join(__dirname, '../core/src/manager-api');
const imageContextPath = join(__dirname, '..//frameworks/nextjs/src/image-context.ts');

const config: StorybookConfig = {
stories: [
Expand Down Expand Up @@ -146,6 +147,7 @@ const config: StorybookConfig = {
'storybook/internal/components': componentsPath,
'@storybook/manager-api': managerApiPath,
'storybook/internal/manager-api': managerApiPath,
'sb-original/image-context': imageContextPath,
}
: {}),
},
Expand Down

0 comments on commit 44e789c

Please sign in to comment.