From db58c8e686032a45152e75ef7b2a72a5f06d9092 Mon Sep 17 00:00:00 2001 From: weyusi Date: Tue, 21 May 2019 13:45:18 +0930 Subject: [PATCH] fix: typo in default config of svgo --- README.md | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d464efc..6331e1c 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ neat_svg: - **logger** - Verbose output. Defaults to `false`. - **include** - Include files. Support wildcard pattern. - Exclude `*.min.svg` by default. -- **plugin** - Plugin options. +- **plugins** - Plugin options. - To retain comments, `plugins: [{removeComments: false}]`. For more options, see [svgo](https://github.com/svg/svgo). diff --git a/index.js b/index.js index 13b53f8..9ecff66 100644 --- a/index.js +++ b/index.js @@ -38,7 +38,7 @@ if (hexo.config.neat_enable === true) { enable: true, logger: false, include: ['*.svg', '!*.min.svg'], - plugin: [] + plugins: [] }, hexo.config.neat_svg) // gzip compression