update fixtures/packaging/README.md (#14320)

I had some confusion yesterday with this, figured this reads a little better.  Ran these steps locally to verify they work.
This commit is contained in:
Sunil Pai 2018-11-24 21:40:56 +00:00 committed by GitHub
parent ed4c4a51cd
commit a7f270c550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,28 +15,18 @@ First, build React and the fixtures:
```
cd react
npm run build
cd fixtures/packaging
node build-all.js
node fixtures/packaging/build-all.js
```
Then run a local server at the root of the repo, e.g.
Then run a local server, e.g.
```
npm i -g pushstate-server
cd ../..
pushstate-server .
npx pushstate-server .
```
(Too complicated? Send a PR to simplify this :-)).
Then open the following URL in your browser:
```
open http://localhost:9000/fixtures/packaging/index.html
```
and open the following URL in your browser: [http://localhost:9000/fixtures/packaging/index.html](http://localhost:9000/fixtures/packaging/index.html)
You should see two things:
* "Hello World" is rendered in each iframe.
* A number of iframes (corresponding to various builds), with "Hello World" rendered in each iframe.
* No errors in the console.