Skip to content

Commit

Permalink
fix Storybook build with temporary workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Jan 7, 2025
1 parent ea5b8cb commit 03f8b11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import { defineConfig } from '@storybook/react/preview';
// import * as designs from '@storybook/addon-designs/preview';
// import * as test from '@storybook/experimental-addon-test/preview';
import * as a11y from '@storybook/addon-a11y/preview';
// @ts-expect-error Must be typed
import * as essentials from '@storybook/addon-essentials/preview';
// @ts-expect-error TODO: @kasperpeulen investigate the issue with /preview entrypoint
import * as essentials from '@storybook/addon-essentials/preview-TODO-INVESTIGATE-THIS';
// @ts-expect-error Must be typed
import * as addonThemes from '@storybook/addon-themes/preview';

Expand Down
2 changes: 1 addition & 1 deletion code/addons/essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./preview": {
"./preview-TODO-INVESTIGATE-THIS": {
"types": "./dist/preview.d.ts",
"import": "./dist/preview.mjs",
"require": "./dist/preview.js"
Expand Down

0 comments on commit 03f8b11

Please sign in to comment.