Skip to content

Commit

Permalink
chore: using icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Jul 26, 2023
1 parent 2b74e11 commit 3fefbfa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# vite-plugin-compression2
<p align="center">
<img src="https://socialify.git.ci/nonzzz/vite-plugin-compression/image?description=1&font=KoHo&language=1&logo=https%3A%2F%2Fcamo.githubusercontent.com%2F61e102d7c605ff91efedb9d7e47c1c4a07cef59d3e1da202fd74f4772122ca4e%2F68747470733a2f2f766974656a732e6465762f6c6f676f2e737667&name=1&pattern=Solid&theme=Auto" width="640" height="320" />
</p>

[![codecov](https://codecov.io/gh/nonzzz/vite-compression-plugin/branch/master/graph/badge.svg?token=NG4475OP6B)](https://codecov.io/gh/nonzzz/vite-compression-plugin)

This is a compression plugin for vite.

### Install
## Install

```bash

Expand All @@ -16,7 +16,7 @@ $ npm install vite-plugin-compression2 -D

```

### Usage
## Usage

```js
import { defineConfig } from 'vite'
Expand All @@ -31,7 +31,7 @@ export default defineConfig({
})
```

### Options
## Options

| params | type | default | description |
| ---------------------- | --------------------------------------------- | ----------------- | -------------------------------------------------------------- |
Expand All @@ -44,7 +44,7 @@ export default defineConfig({
| `skipIfLargerOrEqual` | `boolean` | `false` | Whether to skip the compression if the result is larger than or equal to the original file |
| `filename` | `string` | `[path][base].gz` | The target asset filename |

### Q & A
## Q & A

> Why not vite-plugin-compression
Expand Down

0 comments on commit 3fefbfa

Please sign in to comment.