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.
Sunil Pai committed
Nov 24, 2018 at 21:40 UTC
a7f270c550f072c5eb5064b231e6542329180622
1 file changed
+5
-15
fixtures/packaging/README.md
+5
-15
@@ -15,28 +15,18 @@ First, build React and the fixtures:
15
```
16
cd react
17
npm run build
18
-
19
-cd fixtures/packaging
20
-node build-all.js
18
+node fixtures/packaging/build-all.js
19
```
20
23
-Then run a local server at the root of the repo, e.g.
21
+Then run a local server, e.g.
22
23
```
26
-npm i -g pushstate-server
27
-cd ../..
28
-pushstate-server .
24
+npx pushstate-server .
25
```
26
31
-(Too complicated? Send a PR to simplify this :-)).
32
-
33
-Then open the following URL in your browser:
34
-
35
-```
36
-open http://localhost:9000/fixtures/packaging/index.html
37
-```
27
+and open the following URL in your browser: [http://localhost:9000/fixtures/packaging/index.html](http://localhost:9000/fixtures/packaging/index.html)
28
29
You should see two things:
30
41
-* "Hello World" is rendered in each iframe.
31
+* A number of iframes (corresponding to various builds), with "Hello World" rendered in each iframe.
32
* No errors in the console.