-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add dotenv support for storybook in vue and react #2345
Conversation
Add DotEnv for webpack
add support for .env files
I didn't see any lock files when adding this. |
What happens when you run |
My bad. Pushed. |
Codecov Report
@@ Coverage Diff @@
## master #2345 +/- ##
=======================================
Coverage 21.23% 21.23%
=======================================
Files 283 283
Lines 6155 6155
Branches 713 723 +10
=======================================
Hits 1307 1307
+ Misses 4311 4298 -13
- Partials 537 550 +13
Continue to review full report at Codecov.
|
is there any way to silence the error when there isn't a It's an optional file so I feel like the |
+1 for not requiring |
Issue:
What I did
Added support for dotenv
How to test
Add to a new CRA app and use the .env files.
Misc
I guess this could be added to the docs but I wouldn't know where. Busy busy so if it's a must I'll look for it this weekend.