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
Strengthen compatibility between create-react-app and storybook build systems. There are some features of the CRA build (albeit, recent additions) which do not work with storybook (see steps to reproduce). Looking for any ideas here how to best get Storybook working with some of CRA's build features, plus any ideas to keep compatibility high as CRA grows.
Steps to reproduce
create-react-app myapp
add storybook to myapp
add source code that uses babel macros, e.g. emotion/macro
add source code that uses SVG component imports, e.g. import { ReactComponent as Logo } from './logo.svg'
attempt to build source code with storybook
Please specify which version of Storybook and optionally any affected addons that you're running
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!
Issue details
Strengthen compatibility between create-react-app and storybook build systems. There are some features of the CRA build (albeit, recent additions) which do not work with storybook (see steps to reproduce). Looking for any ideas here how to best get Storybook working with some of CRA's build features, plus any ideas to keep compatibility high as CRA grows.
Steps to reproduce
create-react-app myapp
emotion/macro
import { ReactComponent as Logo } from './logo.svg'
Please specify which version of Storybook and optionally any affected addons that you're running
@storybook/react
3.3.15Affected platforms
Mac 10.13.3
Screenshots / Screencast / Code Snippets (Optional)
Currently using this in my
.storybook/webpack.config.js
The text was updated successfully, but these errors were encountered: