Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON loader to webpack config #635

Closed
doque opened this issue Nov 30, 2016 · 0 comments
Closed

Add JSON loader to webpack config #635

doque opened this issue Nov 30, 2016 · 0 comments

Comments

@doque
Copy link

doque commented Nov 30, 2016

When adding stories of components, sometimes I want to be able to use mocked JSON data which is passed in props. Currently, the webpack config is unable to handle .json file imports (as they are parsed as pure Javascript when called in require()).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant