Storybook: Storysource Addon - better support for "create-react-app" based projects

Created on 15 Aug 2019  路  6Comments  路  Source: storybookjs/storybook

Currently, according to the docs , for configure the addon you must use webpack configuration
unfortunately, "create-react-app" is hiding the webpack config stuff under the hood, and for make the addon work you must find the way to somehow override it (to use "eject" for example)
This can be not very easy especially for some newbies like me...

I wish - the configuration not to involve webpack (in case you using create-react-app)- as it does with other addons
If that is possible - it will be great!
Thanks

storysource cra inactive question / support

Most helpful comment

Sorry @shilman !
I misunderstood that the webpack.config.js on .storybook it's an extension from the default CRA's webpack.config.js therefore can be customized.

Reading the docs gave me the 'click' to try.

Following the steps from addon Storysource's README I can successfully see the story now! :smiley:

Thanks!

All 6 comments

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!

I have the same question about that.
Is there any workaround?

I think the workaround is to configure storysource with webpack 馃槈

Sorry @shilman !
I misunderstood that the webpack.config.js on .storybook it's an extension from the default CRA's webpack.config.js therefore can be customized.

Reading the docs gave me the 'click' to try.

Following the steps from addon Storysource's README I can successfully see the story now! :smiley:

Thanks!

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tomitrescak picture tomitrescak  路  3Comments

dnlsandiego picture dnlsandiego  路  3Comments

xogeny picture xogeny  路  3Comments

sakulstra picture sakulstra  路  3Comments

arunoda picture arunoda  路  3Comments