-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fix .env
parsing
#1104
Fix .env
parsing
#1104
Conversation
484ef2e
to
94a114e
Compare
📦 Package Size: 5300 KB |
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
94a114e
to
828cb5a
Compare
828cb5a
to
ea6ae9e
Compare
@@ -140,7 +140,7 @@ | |||
"cross-env": "^7.0.3", | |||
"cross-spawn": "^7.0.2", | |||
"debug": "^4.3.2", | |||
"dotenv": "^8.2.0", | |||
"dotenv": "^16.4.5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to bump this for import 'dotenv/config';
support.
🚀 PR was released in |
Closes #1103
When fixing
unicorn/prefer-module
errors in #1061, I moved the import to the top of the file but sincedotenv
hasn't ran yet, the.env
file is parsed after those imports. Simply moving those to dynamic imports fixes that issue!📦 Published PR as canary version:
11.13.1--canary.1104.11444006930.0
✨ Test out this PR locally via:
npm install chromatic@11.13.1--canary.1104.11444006930.0 # or yarn add chromatic@11.13.1--canary.1104.11444006930.0