create-react-app #71
Comments
figured it out, I needed a |
Glad it works! storyshots comes pre transpiled. So I think this is unrelated to storyshots. Anyway reopen if needed. |
I have the same issue. in my import initStoryshots from 'storyshots'
initStoryshots({
suit: 'ComponentStories'
}) when i run my project was created with |
Any solution here? Get in the same error |
Could this issue be related to the command |
@kedoska, @Fatxx, as mentioned by @lifeiscontent, providing a basic
Let us know if it works for you. |
Please have a look at #67 (review) which added code related to babel config. The root cause for that issue seems to be in usage of |
We were not able to get storyshots working at the same time as storybook and create-react-app using the workaround. |
@baptistemanson For a workaround, you could move from ES6 to ES5 in Note, that original error is about unknown syntax in |
When using a default create-react-app for storyshots, it seems to break.
I've got this code in
src/Storyshots.test.js
the error in the test is
The text was updated successfully, but these errors were encountered: