Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chengpeiquan committed Oct 30, 2022
1 parent b5cb387 commit 6004a00
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 @@ -28,7 +28,7 @@ English | [简体中文](https://github.com/chengpeiquan/vite-plugin-banner/blob
- [Basic usage](#basic-usage)
- [Advanced usage](#advanced-usage)
- [Fun usage](#fun-usage)
- [Add different banner](#add-different-banner)
- [Add different banners](#add-different-banners)
- [Optional parameter format](#optional-parameter-format)
- [License](#license)

Expand All @@ -49,7 +49,7 @@ npm install -D vite-plugin-banner
| Plugin Options Type | Description | Example |
| :------------------ | :------------------------------ | :------------------------------------------------------ |
| string | The banner content | [Basic usage](#basic-usage) |
| ContentCallback | See the type declarations below | [Add different banner](#add-different-banner) |
| ContentCallback | See the type declarations below | [Add different banners](#add-different-banners) |
| BannerPluginOptions | See the type declarations below | [Optional parameter format](#optional-parameter-format) |

· Type Declarations:
Expand Down Expand Up @@ -230,7 +230,7 @@ Run `npm run build`, e.g. in `app.d9a287b8.js`:
var e=Object.assign;import{M as t,d as a,u as r,c......
```

### Add different banner
### Add different banners

Since `0.6.0`, it supports incoming function callback to set the content of Banner. When using `ContentCallback` type, this plugin will judge what content should be added according to the internal logic of the function.

Expand Down

0 comments on commit 6004a00

Please sign in to comment.