Skip to content

Commit

Permalink
release: Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinerer committed Jan 23, 2025
1 parent bf358ae commit 88bf739
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 13 deletions.
6 changes: 6 additions & 0 deletions packages/page-html/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# vite-plugin-page-html

## 3.1.5

### Patch Changes 🌟

- fix: Merge inject.data & inject.tags (#8)

## 3.1.4

### Patch Changes 🌟
Expand Down
2 changes: 1 addition & 1 deletion packages/page-html/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-page-html",
"version": "3.1.4",
"version": "3.1.5",
"description": "A simple and flexible Vite plugin for processing HTML pages, integrating multi-page application (MPA) configuration, EJS template support, and HTML compression.",
"type": "module",
"main": "./dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/vanilla/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# vite-plugin-vanilla

## 2.1.1

### Minor Changes 🌟

- docs: Update README (#7)

## 2.1.0

### Minor Changes 🌟
Expand Down
22 changes: 11 additions & 11 deletions packages/vanilla/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ export default defineConfig({
## API

```js
vanilla(options: string | string[] | object)
vanilla(options: string | string[] | IOptions)
```

### options

| Name | Type | Default | Description |
| --------------- | ---------------------------- | ------- | ------------------------------------- |
| `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. |
| `replaceDefine` | `boolean` | `true` | Static replace `vite.define` in HTML. |
| Name | Type | Default | Description |
| --------------- | ---------------------------- | --------------- | ------------------------------------- |
| `include` | `string \| string[]` | `src/**/*.html` | 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. |
| `replaceDefine` | `boolean` | `true` | Static replace `vite.define` in HTML. |

**options.transform**

Expand Down
2 changes: 1 addition & 1 deletion packages/vanilla/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-vanilla",
"version": "2.1.0",
"version": "2.1.1",
"description": "Vanilla multi-page web development mode based on Vite.",
"type": "module",
"main": "./dist/index.js",
Expand Down

0 comments on commit 88bf739

Please sign in to comment.