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
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!
Most helpful comment
Sorry @shilman !
I misunderstood that the
webpack.config.json.storybookit's an extension from the default CRA'swebpack.config.jstherefore 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!