Skip to content

Commit

Permalink
update fixtures/packaging/README.md (#14320)
Browse files Browse the repository at this point in the history
I had some confusion yesterday with this, figured this reads a little better.  Ran these steps locally to verify they work.
  • Loading branch information
Sunil Pai committed Nov 24, 2018
1 parent ed4c4a5 commit a7f270c
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions fixtures/packaging/README.md
Expand Up @@ -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.

0 comments on commit a7f270c

Please sign in to comment.