-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Environment variables are not working #495
Comments
I think this is working properly. That's because webpack simply's define plugin simply replace a give key which is like C preprocessor. But, we should provide a way to get it via |
There's also an |
Does it provide |
Anyway, we can close this. |
Why is this the case? Is there another way for the stories code to access environmental variables? |
@mnmtanish worked for me. thanks! |
process.env.<VAR>
type statements are not working in both the storybook static version and the dev server. Storybook version is 2.19.0.The text was updated successfully, but these errors were encountered: