From b610982f8580c45537697a9545db71835f2afa9a Mon Sep 17 00:00:00 2001 From: Jon Stevens Date: Wed, 14 Aug 2019 23:42:52 +0700 Subject: [PATCH 1/2] add a migration step to remove static from robots.txt --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a37a90c663..9419ac3fabb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,8 @@ v3.1.1 is a maintenance release that includes minor bug fixes and documentation ### Migrating from 3.1.0 to 3.1.1 +Optionally remove `Disallow: /static/` from `public/robots.txt`. [#7508](https://github.com/facebook/create-react-app/pull/7508) + Inside any created project that has not been ejected, run: ```sh From 083ab8c71f98f161a5cb5c23dabb2e4a1ee5cbd5 Mon Sep 17 00:00:00 2001 From: Jon Stevens Date: Sat, 17 Aug 2019 00:30:22 +0700 Subject: [PATCH 2/2] Update CHANGELOG.md Co-Authored-By: Ian Sutherland --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9419ac3fabb..6b5e2ea347b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,7 @@ v3.1.1 is a maintenance release that includes minor bug fixes and documentation ### Migrating from 3.1.0 to 3.1.1 -Optionally remove `Disallow: /static/` from `public/robots.txt`. [#7508](https://github.com/facebook/create-react-app/pull/7508) +Optionally remove `Disallow: /static/` from `public/robots.txt` if you want to allow your images and other static files to be indexed by search engines [#7508](https://github.com/facebook/create-react-app/pull/7508) Inside any created project that has not been ejected, run: