Skip to content

Commit

Permalink
Update README.md to be more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
escudero89 authored and adriencaccia committed Aug 29, 2024
1 parent 5020e45 commit bfd7bf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ new NodejsFunction(this, 'MyFunction', {
Run the following command to analyze the bundle:

```bash
cdk synth --quiet -c analyze=Health
cdk synth --quiet -c analyze=MyFunction
```

A browser window will open with the bundle size analysis 🎉
Expand All @@ -58,7 +58,7 @@ The name of the function to analyze. If not specified, no function will be analy
Example:

```bash
cdk synth --quiet -c analyze=Health
cdk synth --quiet -c analyze=MyFunction
```

### `template`
Expand All @@ -68,7 +68,7 @@ The bundle template to use. Should be one of `sunburst`, `treemap`, `network`. D
Example:

```bash
cdk synth --quiet -c analyze=Health -c template=sunburst
cdk synth --quiet -c analyze=MyFunction -c template=sunburst
```

## Custom `NodejsFunction` construct 🏗️
Expand Down

0 comments on commit bfd7bf5

Please sign in to comment.