Skip to content

Conversation

@aweebit
Copy link
Contributor

@aweebit aweebit commented May 22, 2025

Fixes #34

@Julien-R44 Julien-R44 force-pushed the feature/validation-without-vite branch from 30c5109 to fafb3b2 Compare May 25, 2025 22:07
@Julien-R44
Copy link
Owner

Thanks for the PR ! Just did some refactor

Also, no need to use Object.assign(process.env, env) -> loadAndValidateEnv will be responsible for it, but still returns the env mapping if need

@Julien-R44 Julien-R44 merged commit 47026f1 into Julien-R44:main May 25, 2025
5 checks passed
@aweebit
Copy link
Contributor Author

aweebit commented May 31, 2025

@Julien-R44 Big thanks! I've now replaced the old bulky workaround in my project with a loadAndValidateEnv call, and it works like a charm 🥳

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.

Expose validation function for scripts not bundled with Vite

2 participants