Michael Shilman
Michael Shilman
@zhaoyao91 i don't understand why you think it's a bug in the typescript preset. are you expecting the preset to add this automatically?
@zhaoyao91 what does that have to do with `preset-typescript` though? and which version are you using?
@karolisgrinkevicius-home24 This sounds great. Any interest in creating a PR for this?
I think `examples` are newer and the `.storybook` from the preset packages never got removed. cc @mrmckeb
Congrats on finding a juicy bug, and bigger congrats on figuring out the "right" solution! 🎉 I debugged the problem using Storybook's `--debug-webpack-config` option, and it's kind of subtle. Here's...
Yeah really appreciate the issue and the repro. Even if you're not using CRA yourself, it's probably the most common use case among all our users!
I think this is fixed in the alpha: https://github.com/storybookjs/storybook/pull/8499
Super simple repro https://github.com/shilman/cra-treebeard-error
I'm also able to repro this inside the repo's tests if I clear the `yarn.lock` file and upgrade react to 16.8.5. The error goes away if I remove `velocity-react`. Therefore...
As a workaround, disable animations and the problem goes away: ```jsx ```