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

fix(config): enable dotenv in development #347

Merged
merged 1 commit into from
Jul 15, 2022
Merged

fix(config): enable dotenv in development #347

merged 1 commit into from
Jul 15, 2022

Conversation

kevinmarrec
Copy link
Contributor

@kevinmarrec kevinmarrec commented Jul 14, 2022

πŸ”— Linked issue

Fixes #246

πŸ”— Linked discussion

Closes #238

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This enables dotenv setup feature from c12 in development (nitro dev only), making .env files working out of the box.

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find. Thanks!

@pi0 pi0 merged commit ec086c6 into nitrojs:main Jul 15, 2022
@kevinmarrec kevinmarrec deleted the fix-dotenv branch July 15, 2022 10:10
WinterYukky pushed a commit to WinterYukky/nitro that referenced this pull request Nov 1, 2022
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

Successfully merging this pull request may close these issues.

.env file don't load in config
2 participants