Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook higher than 7.5.3 does not export globals in @storybook/preview/globals #2619

Open
jdevega opened this issue Jan 24, 2024 · 0 comments

Comments

@jdevega
Copy link
Contributor

jdevega commented Jan 24, 2024

import { globals } from '@storybook/preview/globals';

The package @storybook/preview changed the named exports in the globals module. Up to 7.5.3 it was globals, but in 7.6.x they export globalPackages and globalsNameReferenceMap.

globalsNameReferenceMap is the export that matches the previous data exported by globals.

This is being addressed in the Storybook repository in this issue storybookjs/storybook#25735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant