Skip to content

Commit

Permalink
chore: release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Nov 8, 2022
1 parent 9257a30 commit 178b8ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ $ npm install vite-plugin-compression2 -D
```js
import { defineConfig } from 'vite'

import { Compression } from 'vite-plugin-compression2'
import { compression } from 'vite-plugin-compression2'

export default defineConfig({
plugins: [
// ...your plugin
Compression()
compression()
]
})
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-compression2",
"version": "0.1.0",
"version": "0.2.0",
"description": "compress souce file by stream, use it in vite.",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 178b8ae

Please sign in to comment.