Skip to content

Commit 178b8ae

Browse files
committed
chore: release v0.2.0
1 parent 9257a30 commit 178b8ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ $ npm install vite-plugin-compression2 -D
1919
```js
2020
import { defineConfig } from 'vite'
2121

22-
import { Compression } from 'vite-plugin-compression2'
22+
import { compression } from 'vite-plugin-compression2'
2323

2424
export default defineConfig({
2525
plugins: [
2626
// ...your plugin
27-
Compression()
27+
compression()
2828
]
2929
})
3030
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-compression2",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "compress souce file by stream, use it in vite.",
55
"main": "dist/index.cjs.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)