====
Load environment variables from the system and makes them available through process.env. Works best for building on CI/CD environments
In some scenarios like when working in a CI environment where we might want to load environment variables from the system variables instead of an .env file. This plugin will handle loading system variables as long as they are present in the .env.example file.
For Quasar v1.x look at the 1.x branch
quasar ext add system-environment-variables
Quasar CLI will retrieve it from NPM and install the extension.
quasar ext remove system-environment-variables
You need to setup a .env.example
file which can work as a dictionary so the plugin knows which variables to look for and load from the system environment, plus it works as a guide for other users letting them know which variables are available.
If you appreciate the work that went into this App Extension, please consider donating to Quasar or buy me a beer.