fix: loader js does not see other preview types
Issue: https://github.com/storybookjs/react-native/issues/295
What I did
changed loader a bit
How to test
Create files with different extensions. The generated file should not fail to populate with decorators and parameters
Hey thats awesome! Thanks for your contribution.
Could you add test cases also? 🙏
The tests are in loader.tests.js in the same folder.
Hey thats awesome! Thanks for your contribution.
Could you add test cases also? 🙏
The tests are in loader.tests.js in the same folder.
done 😉
I don't have much time now but soon I'll check it.
@zakharchenkoAndrii nice change, thanks! 🙇