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
However, in version 7.6.0 it seems that the export has changed to something different, resulting in a breaking change for our storybook builder (@web/storybook-builder):
To Reproduce
No response
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Sounds about right. AFAIK there was never an intention for other packages than Storybook core packages to use that export, which is why it wasn't considered a breaking change to change it.
I think we can bring back the original globals export with little effort in 7.6 though.
I could be wrong, but I think us using this export was one of the things we discussed a while ago with some members of the storybook team, but I forget the details unfortunately. For now it seems like we can just update to the globalsNameReferenceMap because those seem to be the same object, but figured I'd report the issue so at least y'all are aware of it. I'll close this issue for now then :) Do be advised that third party Builders may depend on this package however
Describe the bug
@storybook/preview@7.5.3
has an export forglobals
:We import it here: https://github.com/modernweb-dev/web/blob/master/packages/storybook-builder/src/index.ts#L4C1-L5C1
However, in version
7.6.0
it seems that the export has changed to something different, resulting in a breaking change for our storybook builder (@web/storybook-builder
):To Reproduce
No response
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: