Skip to content

Commit

Permalink
docs(vanilla): Update README (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinerer authored Jan 22, 2025
1 parent c05b9aa commit c5794d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vanilla/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ vanilla(options: string | string[] | object)

| Name | Type | Default | Description |
| --------------- | ---------------------------- | ------- | ------------------------------------- |
| `include` | `string\|string[]` | | The pattern of pages. |
| `include` | `string \| string[]` | | The pattern of pages. |
| `exclude` | `string[]` | `[]` | The pattern of pages to exclude. |
| `base` | `string` | `'src'` | The base directory of pages. |
| `suffix` | `string \| string[]` | `html` | The suffix of page file. |
| `minify` | `boolean` | `true` | Whether to minify the HTML. |
| `transform` | `Transform` | | Transform the HTML. |
| `inject` | `{tags:HtmlTagDescriptor[]}` | | Inject the HTML Tags. |
Expand Down
1 change: 1 addition & 0 deletions packages/vanilla/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type { TerserOptions } from 'vite-plugin-minify-html'
export interface PluginOptions {
/**
* @description HTML file pattern
* @default 'src\/**\/*.html'
*/
include?: string | string[]

Expand Down

0 comments on commit c5794d7

Please sign in to comment.