Skip to content

Commit

Permalink
Show cli usage in plugins documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Mar 10, 2022
1 parent 5788be1 commit 5cdec5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ Those plugins will be loaded by the VSCode extension and can provide live diagno
}
```

### Usage on the CLI
```bash
npx bsc --plugins "./scripts/myPlugin.js" "@rokucommunity/bslint"
```

### Programmatic configuration

When using the compiler API directly, plugins can directly reference your code:
Expand Down

0 comments on commit 5cdec5b

Please sign in to comment.