DEV Community


Discussion on: StorybookJS: Tips & Tricks

daviddalbusco profile image
David Dal Busco Author

Thank you for the feedback Pankaj!

Good to know about Webpack5.

Did you ejected the webpack configuration to customize it or you had even trouble with the default configuration?

pankajpatel profile image
Pankaj Patel

I don't think, there is need to eject configs on Storybook; you can customize pretty much everything from .storybook/main.js

Though the main trouble was to find and manually add the needed polyfils, as webpack no longer adds them by default from v5.

Currently, the project's config and storybook's config for webpack are similar but copies. I can live with the copies for now.

Thread Thread
daviddalbusco profile image
David Dal Busco Author

Ah polyfill, that explains why I did not had any issue 😉.

Thanks for the feedback.