Skip to content

Commit

Permalink
update readme and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
pajaydev committed Oct 6, 2018
1 parent 61165a3 commit b3e0e28
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,33 @@ Creates lasso-analyze.html in your project directory.
</p>

## Usage as CLI ##
1. make the bundlingEnabled flag to true in config.json
``` bash
"bundlingEnabled": true,
"outputDir": "build/static/",
```
2. Bundled file is created under "build/static/" folder. Run the CLI as shown below

1. Bundled file is created under "build/static/" folder. Run the CLI as shown below

```bash
lasso-analyzer <--bundle path-->
```

For Example:

a. Options to provide direct Output js file.
``` bash
lasso-analyzer static/build.js
```
or

b. Options to provide Output Folder like this, it iterates entire folder and create lasso-analyze.html.

``` bash
lasso-analyzer build/static/index.js
lasso-analyzer static
```
3. lasso-analyze.html file is created in root path of your project structure.

2. lasso-analyze.html file is created in root path of your project structure.

``` bash
open lasso-analyze.html
```
4. It shows you a treemap visualization as shown below.
3. It shows you a treemap visualization as shown below.


## Issues ##
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lasso-analyzer",
"version": "1.1.8",
"version": "1.1.9",
"description": "A tool to analyze the bundle created by Lasso",
"main": "src/lasso-analyzer-plugin.js",
"bin": {
Expand Down

0 comments on commit b3e0e28

Please sign in to comment.