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
Bug: When trying to build a story from a functional typescript react component that isn't default exported a syntax error is throw by the babel-loader.
Resolution: Submitted a PR - Locally the issue seems to be resolved by adding "allowSyntheticDefaultImports": true to the tsconfig.json in the preset's package.
Bug: When trying to build a story from a functional typescript react component that isn't default exported a syntax error is throw by the babel-loader.
Resolution: Submitted a PR - Locally the issue seems to be resolved by adding
"allowSyntheticDefaultImports": true
to thetsconfig.json
in the preset's package.React:
package.json dev dependencies:
Replicating the error
Example Component:
Task.component.tsx
Example Story:
Task.stories.tsx
Running
yarn storybook
:The text was updated successfully, but these errors were encountered: