Use dotenv for dev mode customisation

Summary: Allow using of .env file to pass env vars to be used in dev mode. Currently this allow to configure defaults for enabling fast refresh, automatic opening of dev tools and plugins to load.

Reviewed By: passy

Differential Revision: D24398938

fbshipit-source-id: 30a5d86b7906a7723a404cf84a1b8d50ae497dbc
This commit is contained in:
Anton Nikolaev
2020-10-22 11:34:24 -07:00
committed by Facebook GitHub Bot
parent 2d9cf5a905
commit d4debc4185
6 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View File

@@ -6,6 +6,7 @@ bundle.js
bundle.map
*.bundle.js
*.bundle.map
.env
# conflicts with FB internal infra
.watchmanconfig