std-env icon indicating copy to clipboard operation
std-env copied to clipboard

feat: check `MODE` variable for isDevelopment and isProduction flags

Open markflorkowski opened this issue 1 year ago โ€ข 0 comments

๐Ÿ”— 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.

markflorkowski avatar Jan 23 '24 18:01 markflorkowski