File tree Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -31,28 +31,33 @@ Creates lasso-analyze.html in your project directory.
3131</p >
3232
3333## Usage as CLI ##
34- 1 . make the bundlingEnabled flag to true in config.json
35- ``` bash
36- " bundlingEnabled" : true,
37- " outputDir" : " build/static/" ,
38- ```
39- 2 . Bundled file is created under "build/static/" folder. Run the CLI as shown below
34+
35+ 1 . Bundled file is created under "build/static/" folder. Run the CLI as shown below
4036
4137``` bash
4238lasso-analyzer < --bundle path-->
4339```
4440
4541For Example:
4642
43+ a. Options to provide direct Output js file.
44+ ``` bash
45+ lasso-analyzer static/build.js
46+ ```
47+ or
48+
49+ b. Options to provide Output Folder like this, it iterates entire folder and create lasso-analyze.html.
50+
4751``` bash
48- lasso-analyzer build/ static/index.js
52+ lasso-analyzer static
4953```
50- 3 . lasso-analyze.html file is created in root path of your project structure.
54+
55+ 2 . lasso-analyze.html file is created in root path of your project structure.
5156
5257``` bash
5358open lasso-analyze.html
5459```
55- 4 . It shows you a treemap visualization as shown below.
60+ 3 . It shows you a treemap visualization as shown below.
5661
5762
5863## Issues ##
Original file line number Diff line number Diff line change 11{
22 "name" : " lasso-analyzer" ,
3- "version" : " 1.1.8 " ,
3+ "version" : " 1.1.9 " ,
44 "description" : " A tool to analyze the bundle created by Lasso" ,
55 "main" : " src/lasso-analyzer-plugin.js" ,
66 "bin" : {
You can’t perform that action at this time.
0 commit comments