[x ] I agree to follow the code of conduct that this project follows, as appropriate.
[x ] I have searched the issue tracker for a bug that matches the one I want to file, without success.
Issue Details
I am using electron-forge to create a windows installer and I am trying to use environment variables placed in .env files. To do this I am using dotenv-flow@3.2.0. In dev environment it works great, I can use my env variables, however, after I create the package and install it, I no longer have the env variables in process.env. I am configuring dotenvFlow in the webpack config file. Am I missing some config? How can I add environment variables to the package?
Electron Forge Version:
6.0.0-beta.53
Electron Version:
10.1.1
Operating System:
Windows 10
Last Known Working Electron Forge version::
Expected Behavior
Environment variables defined in the .env file should appear in process.env in the win installer.
Actual Behavior
Environment variables defined in the .env file are not in process.env in the win installer.
Preflight Checklist
Issue Details
I am using electron-forge to create a windows installer and I am trying to use environment variables placed in .env files. To do this I am using dotenv-flow@3.2.0. In dev environment it works great, I can use my env variables, however, after I create the package and install it, I no longer have the env variables in process.env. I am configuring dotenvFlow in the webpack config file. Am I missing some config? How can I add environment variables to the package?
Expected Behavior
Environment variables defined in the .env file should appear in process.env in the win installer.
Actual Behavior
Environment variables defined in the .env file are not in process.env in the win installer.
To Reproduce
Additional Information