Add the right command in README to generate prepack.min.js (#2200)

Summary:
Release note: none

`yarn build-bundle` needs `lib` directory present else it breaks.
Closes https://github.com/facebook/prepack/pull/2200

Differential Revision: D8725631

Pulled By: hermanventer

fbshipit-source-id: d577b4cf6de2b29a2f5fc7a8b1ba2dc36694c9db
This commit is contained in:
Guru107 2018-07-03 11:50:39 -07:00 committed by Facebook Github Bot
parent 8e37b36191
commit 2f470b319c

View File

@ -112,7 +112,7 @@ Instead of building, linting, type checking, testing separately, the following d
The content for [prepack.io](https://prepack.io) resides in the [website directory](https://github.com/facebook/prepack/tree/master/website) of this repository. To make changes, submit a pull request, just like for any code changes.
In order to run the website locally at [localhost:8000](http://localhost:8000):
1. Build prepack into the website: `yarn build-bundle && mv prepack.min.js website/js`
1. Build prepack into the website: `yarn build && mv prepack.min.js website/js`
2. Run `python -m SimpleHTTPServer` (Python 2) or `python -m http.server` (Python 3) from the `website/` directory
## How to contribute