mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-01 02:42:39 +08:00
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:
committed by
Ian Sutherland
parent
437b83f033
commit
64662822dd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user