According to the Create React App documentation,
.env*.local files should not be checked into source control:
.envfiles should be checked into source control (with the exclusion of
This recommendation is also reflected in the default
.env.local to source control? Is this not contradictory to the official CRA docs? I'm not saying it's wrong... I'm working with a team that is discussing different approaches for managing
.env* files within a project, and we'd like to understand the thought process behind the design decision that was made for
react-boilerplate-cra-template to determine if it is right for us.