gebeto / storybook-addon-manual-mocks

Manual Mocks addon for Storybook
https://www.npmjs.com/package/storybook-addon-manual-mocks
MIT License
6 stars 0 forks source link

Ability to configure `MOCK_FOLDER` name #7

Closed khanilov closed 9 months ago

khanilov commented 11 months ago

Hi 👋🏻 Your package looks promising!

How about adding option to change MOCK_FOLDER name?

In our project I would like to use __storybook_mocks__ for example, because we have a lot of files in __mocks__ folder for jest, that we are not always want to bring into storybook.

gebeto commented 10 months ago

v1 was released, and there are included ability to set custom mocks folder 🚀 Thanks for your suggection 🙌

Here is how to apply custom mocks folder path: https://github.com/gebeto/storybook-addon-manual-mocks?tab=readme-ov-file#universal-config-for-vite-and-webpack

khanilov commented 9 months ago

Thank you!