Set ENV variables in scripts instead of in build

This commit is contained in:
dannyrb committed 2019-04-30 13:36:25 -04:00
1 parent 33d06dba4e
commit 81cf8cbd7c
4 files changed
+20 -18

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
##
# EXAMPLE
#
# Read more about .env files when using create-react-app here:
# https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables#adding-development-environment-variables-in-env
#
PUBLIC_URL=/demo
#
# Most vars require REACT_APP_* naming
#
REACT_APP_CONFIG=config/netlify.js