You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem
Storybook prefers that the preview configuration files be statically-defined, because for some purposes they statically parse the file rather than depending on its runtime behavior (see storybookjs/storybook#27510 and storybookjs/storybook#27418 discussions, and output from the current build process on develop)
The solution
Remove the dynamic nature of each Storybook's preview.ts file, or create a pre-Storybook build step that transforms the dynamic contents into static ones.
The text was updated successfully, but these errors were encountered:
The problem
Storybook prefers that the
preview
configuration files be statically-defined, because for some purposes they statically parse the file rather than depending on its runtime behavior (see storybookjs/storybook#27510 and storybookjs/storybook#27418 discussions, and output from the current build process ondevelop
)The solution
Remove the dynamic nature of each Storybook's
preview.ts
file, or create a pre-Storybook build step that transforms the dynamic contents into static ones.The text was updated successfully, but these errors were encountered: