Skip to content

Fixing dotenv config to read env variables in CI

Pranav Tiwari requested to merge pt/production_deployment_fix into master

I found that the dotenv-webpack library used will only read environment variables from the '.env' file, and not the system environment variables. This is why the CI deployment fails, as there is no .env file there. This MR modifies the webpack config to enable reading of system environment variables as well.

I have tested this locally by deleting the .env file and building.

Merge request reports