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
This project has been life changing, thanks everyone for your hard work.
In the gatsby-link package, line 6. What would be the correct way to handle this global? I am attempting to create a story w/storybooks with a component that imports gatsby-link. PREFIX_PATHS is undefined and throwing a hard error. I also noticed _PREFIX_PATHS != PATH_PREFIX and not sure if that has anything to do with it.
if (__PREFIX_PATHS__) {
pathPrefix = __PATH_PREFIX__
}
Thanks again. I am also open to suggestions on how I can help contribute and fix this if needed.
The text was updated successfully, but these errors were encountered:
Gatsby's webpack config sets that variable as a global. There's been talk before of creating a Gatsby plugin for Storybook so Storybook can emulate the Gatsby webpack setup.
This project has been life changing, thanks everyone for your hard work.
In the gatsby-link package, line 6. What would be the correct way to handle this global? I am attempting to create a story w/storybooks with a component that imports gatsby-link. PREFIX_PATHS is undefined and throwing a hard error. I also noticed _PREFIX_PATHS != PATH_PREFIX and not sure if that has anything to do with it.
Thanks again. I am also open to suggestions on how I can help contribute and fix this if needed.
The text was updated successfully, but these errors were encountered: