Add a migration step to remove static directory from robots.txt (#7536)

* add a migration step to remove static from robots.txt

* Update CHANGELOG.md

Co-Authored-By: Ian Sutherland <ian@iansutherland.ca>
This commit is contained in:
Jon Stevens
2019-08-17 01:14:48 +07:00
committed by Ian Sutherland
parent 437b83f033
commit 64662822dd

View File

@@ -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` 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:
```sh