Open samesfahani-tuplehealth opened 4 months ago
It seems like the issue is actually from Plugin: storybook:react-docgen-plugin
? This is from the Stackblitz repro.
If you set the docgen to react-docgen-typescript
does that solve the problem?
Yes it does, thanks for the workaround!
It works, but being able to enable the decorator somehow would be much better
Describe the bug
I am currently on ^7.16.17 and an upgrade attempt to ^8.1.1 is throwing the following build errors when using legacy decorators (not TypeScript 5 decorators):
This is my
.storybook/main.ts
:And this is the relevant part of my
vite.config.ts
:Note that I am able to run my web server fine with Vite and build using roll up just fine. And as stated, 7.16 of SB works; the only change is an upgrade to 8. Surely there was a breaking change, I just cannot find it in the documentation at all for what I need to do here.
To Reproduce
https://stackblitz.com/edit/github-lcctwu?file=vite.config.ts
System
Additional context
No response