chore: use AVIF instead of PNG/JPG as more as possible (#301)
This commit is contained in:
+12
-7
@@ -299,13 +299,18 @@ pnpm -F @proj-airi/minecraft-bot start
|
||||
|
||||
### Before commit
|
||||
|
||||
> [!CAUTION]
|
||||
>
|
||||
> Please make sure lint (static checkers) and TypeScript compilers are satisfied:
|
||||
>
|
||||
> ```shell
|
||||
> pnpm lint && pnpm typecheck
|
||||
> ```
|
||||
Please make sure lint (static checkers) and TypeScript compilers are satisfied:
|
||||
|
||||
```shell
|
||||
pnpm lint && pnpm typecheck
|
||||
```
|
||||
|
||||
If you are committing images, consider using AVIF format instead of PNG, JPG etc. You can convert existing images to AVIF by running:
|
||||
|
||||
```shell
|
||||
cd docs
|
||||
pnpm to-avif <PATH_TO_IMAGE_OR_DIRECTORY1> <PATH_2> <PATH_3> ...
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user