You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to use @storybook/bench for vite-builder projects, but I get a failure of ReferenceError: exports is not defined for this plugin's preview.js file. I'm trying to find a way to optimize it back from cjs to esm, but I think it would be good if this addon also exported ESM so that isn't necessary.
The text was updated successfully, but these errors were encountered:
Turns out this was due to a bug in the vite builder, which will be fixed by storybookjs/builder-vite#332. Still might be nice to have some esm, but it's not crucial for what I'm doing right now.
Describe the bug
I'm attempting to use
@storybook/bench
for vite-builder projects, but I get a failure ofReferenceError: exports is not defined
for this plugin'spreview.js
file. I'm trying to find a way to optimize it back from cjs to esm, but I think it would be good if this addon also exported ESM so that isn't necessary.The text was updated successfully, but these errors were encountered: