I am being warned that version 3.0.0 will default to “useDotenv: true”, but when I look at the documentation, this config is going to be removed in version 3.0.0 and
.env files will always be included.
Please can you support a false value here? We do not want our local environment files to be included in deployments. They’re excluded from git because they’re a developer’s own config for local tweaking, overriding the SSM parameters used in production.
It looks like I might be able to create an empty
.env.dev just to avoid this problem but that’s not a sensible solution.