std-env
std-env copied to clipboard
feat: check `MODE` variable for isDevelopment and isProduction flags
๐ Linked issue
Currently n/a, can open an issue as well if you want me to.
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [x] ๐ Enhancement (improving an existing functionality like performance)
- [ ] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Utilize the MODE environment variable to check if we are in development or production in addition to other checks from before.
The MODE environment variable is used in Vite to differentiate running in development or production.
๐ Checklist
- [ ] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.