From 85e699ddf346e329e80b64cb9bbb6459e5328b01 Mon Sep 17 00:00:00 2001 From: Jordan Drake Date: Wed, 27 Feb 2019 11:00:56 +0000 Subject: [PATCH] Correct URL for Create React App's environment variables --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7afcb3e..41520ab 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Static assets are the files (javascript, css, images) that are generated from a #### Static assets must not contain anything that is environment-specific -All of the leading application frameworks ([Angular CLI](https://github.com/angular/angular-cli/wiki/stories-application-environments), [Create React App](https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code), [Ember CLI](https://ember-cli.com/user-guide/#Environments), [Vue CLI 3](https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code)) recommend defining environment _values_ at _compile time_. This practice requires that the static assets are generated for each environment and regenerated for any change to an environment. +All of the leading application frameworks ([Angular CLI](https://github.com/angular/angular-cli/wiki/stories-application-environments), [Create React App](https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables), [Ember CLI](https://ember-cli.com/user-guide/#Environments), [Vue CLI 3](https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code)) recommend defining environment _values_ at _compile time_. This practice requires that the static assets are generated for each environment and regenerated for any change to an environment. _Immutable Web Applications_ reference environment _variables_ that are defined on the global scope and reference one of two ways: @@ -265,4 +265,4 @@ Achieving widespread support will require: _Immutable Web Apps_ was developed based on the research and experiences building web applications at [Meltwater](https://www.meltwater.com/). Learn more about the things we are doing at our engineering blog: [underthehood.meltwater.com](https://underthehood.meltwater.com/). immutablewebapps@gmail.com -[@immutablewebapp](https://twitter.com/ImmutableWebApp) \ No newline at end of file +[@immutablewebapp](https://twitter.com/ImmutableWebApp)