Skip to content

Commit

Permalink
Update API usage
Browse files Browse the repository at this point in the history
  • Loading branch information
1000ch committed Jun 1, 2020
1 parent bc04dc0 commit 11dac11
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ const imagemin = require('imagemin');
const imageminSvgo = require('imagemin-svgo');

(async () => {
await imagemin(['images/*.svg'], 'build/images', {
use: [
await imagemin(['images/*.svg'], {
destination: 'build/images',
plugins: [
imageminSvgo({
plugins: [
{removeViewBox: false}
Expand Down

0 comments on commit 11dac11

Please sign in to comment.