Mot

Results 268 comments of Mot

have encrypted `.env` files been considered for this? maybe too new a concept? you could use them with ng build like: ``` { "scripts": { "build": "dotenvx run -- ng...

if you are using dotenvx in an es module environment, shouldn't you be loading it as the following? ``` import dotenv from 'dotenv'; dotenv.config(); ```

hi @mathiasgheno, cool idea. have you seen https://github.com/dotenvx/dotenvx ? will it do what you need here?

as this is cli related I am going to close and recommend our dotenvx cli going forward.

Thank you for this. I'll try to get to this soon, but I do have plans to ultimately merge dotenv-vault with [dotenvx](https://github.com/dotenvx/dotenvx). All my efforts are on dotenvx now -...

This has been intentional for quite some time - going back to the original node dotenv - but I might reconsider the change.

related: https://github.com/bkeepers/dotenv/commit/e68028cbbcc442d4dbf4d75b5a0911ebbc5d402f

it probably just hasnt been added to the types file. dotenv has never been a typescript project. you can either define your own type in your project for it or...

we will get to this, but probably not for a few months.

this has been released as its own extension. I think over time we will merge them both together. dotenvx is the path forward. https://dotenvx.com/vscode-extension