mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-09-19 02:58:08 +03:00
update README for PR 640 (#651)
This commit is contained in:
parent
e1fb71248b
commit
406b2fbf6a
@ -83,7 +83,7 @@ You can run individual test suites as follows.
|
||||
2. Have a JavaScript file handy that you want to prepack, for example:
|
||||
`echo "function hello() { return 'hello'; } function world() { return 'world'; } s = hello() + ' ' + world();" >/tmp/sample.js`
|
||||
|
||||
3. `npm run prepack /tmp/sample.js`
|
||||
3. `cat /tmp/sample.js | npm run prepack`
|
||||
Try `--help` for more options.
|
||||
|
||||
## How to validate changes
|
||||
|
Loading…
Reference in New Issue
Block a user