Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !903

Added note about env server restart

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/mikefrancis/patch-1 into master 8 years ago
  • Overview 5
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: mikefrancis

As discussed in #870

Compare
  • master (base)

and
  • latest version
    3464de9a
    2 commits, 2 years ago

1 file
+ 2
- 0

    Preferences

    File browser
    Compare changes
packages/react-scripts/template/README.md
+ 2
- 0
  • View file @ 3464de9a

  • Edit in single-file editor

  • Open in Web IDE


@@ -444,6 +444,8 @@ default you will have `NODE_ENV` defined for you, and any other environment vari
@@ -444,6 +444,8 @@ default you will have `NODE_ENV` defined for you, and any other environment vari
variable named `REACT_APP_SECRET_CODE` will be exposed in your JS as `process.env.REACT_APP_SECRET_CODE`, in addition
variable named `REACT_APP_SECRET_CODE` will be exposed in your JS as `process.env.REACT_APP_SECRET_CODE`, in addition
to `process.env.NODE_ENV`.
to `process.env.NODE_ENV`.
 
>Note: Changing any environment variables will require you to restart the development server if it is running.
 
These environment variables can be useful for displaying information conditionally based on where the project is
These environment variables can be useful for displaying information conditionally based on where the project is
deployed or consuming sensitive data that lives outside of version control.
deployed or consuming sensitive data that lives outside of version control.
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
1
CLA Signed
1
CLA Signed
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference: facebook/create-react-app!3828
Source branch: github/fork/mikefrancis/patch-1

Menu

Explore Projects Groups Snippets