Skip to content

[DX] Read .env files in the functions directory #474

Closed
@kentcdodds

Description

@kentcdodds

I configure env variables in the netlify UI, but locally I use .gitignored .env files and https://www.npmjs.com/package/dotenv-cli to run netlify-lambda with the right env variables.

It'd be cool if netlify-dev-plugin could solve this problem somehow :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions