Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
Amphaal committed Dec 23, 2024
1 parent ca17926 commit 7d91826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ npm install imagemin-pngquant

### Prerequisites

> **Linux** machines must have the following packages prior to install: `libpng-dev libimagequant-dev`
> **Linux** machines must have the following packages prior to install: `libpng-dev libimagequant-dev`
```sh
sudo apt-get -y install libpng-dev libimagequant-dev
Expand All @@ -20,7 +20,7 @@ sudo apt-get -y install libpng-dev libimagequant-dev

```js
import imagemin from 'imagemin';
import imageminPngquant from 'imagemin-pngquant';
import { imageminPngquant } from 'imagemin-pngquant';

await imagemin(['images/*.png'], {
destination: 'build/images',
Expand Down

0 comments on commit 7d91826

Please sign in to comment.