Skip to content

Conversation

@KernelPanic92
Copy link
Contributor

#120

This PR introduces the @dotenv-run/vite package, enabling automatic loading of environment variables in Vite projects using @dotenv-run/core.

The available options are similar to those supported by @dotenv-run/core, but this plugin integrates natively with Vite by automatically deriving root, prefix, and environment values from Vite’s standard configuration, ensuring a smoother and more cohesive experience.

  • vite plugin
  • [docs] vite plugin documentation

@KernelPanic92
Copy link
Contributor Author

Hey @chihab! 👋

I noticed that the build on GitHub Actions failed. It seems to be an issue with @ngx-env/builder, but everything works fine locally... or maybe I'm missing something? 🤔

Any idea what might be going on? 😆

@chihab
Copy link
Owner

chihab commented Mar 10, 2025

Yes, I should probably fix something there.
Thanks for the PR, I'll try to have a look at it today.

@KernelPanic92
Copy link
Contributor Author

@chihab Alright! 😊 If it's something I can fix, just leave me a comment and I'll take care of it 💪 If it’s related to the pipeline configuration or requires a broader knowledge of the project, feel free to handle it! 🚀

@chihab
Copy link
Owner

chihab commented Mar 10, 2025

Could you please rebase the main branch?

@KernelPanic92
Copy link
Contributor Author

@chihab rebased!

@chihab chihab merged commit f185f62 into chihab:main Mar 13, 2025
1 check passed
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.

2 participants