Skip to content

Make sample env file optional #10

@tayden

Description

@tayden

When using the plugin like this:

// ...
new DotenvPlugin({
  path: './.env',
}),
// ...

with no sample .env file location defined, the plugin throws a no such file or directory, open './.env.default' error. Defining the sample file location fixes the problem.

It would be nice if providing a sample path was optional.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions