mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Updated README.md
This commit is contained in:
parent
5eca300e93
commit
bfd86e0f31
@ -115,7 +115,10 @@ You can then bundle up the above program for running in the browser using either
|
|||||||
|
|
||||||
The `raptor-optimizer` CLI can be used to generate a browser bundle that includes all application modules and all referenced Raptor Template files using a command similar to the following:
|
The `raptor-optimizer` CLI can be used to generate a browser bundle that includes all application modules and all referenced Raptor Template files using a command similar to the following:
|
||||||
```bash
|
```bash
|
||||||
raptor-optimizer require-run:run.js --name browser
|
# First install the raptor-optimizer
|
||||||
|
npm install raptor-optimizer --global
|
||||||
|
|
||||||
|
raptor-optimizer --main run.js --name my-page
|
||||||
```
|
```
|
||||||
|
|
||||||
### Using Browserify
|
### Using Browserify
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user