fix: typo in default config of svgo

This commit is contained in:
weyusi 2019-05-21 13:45:18 +09:30
parent 8531b77cfc
commit db58c8e686
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ neat_svg:
- **logger** - Verbose output. Defaults to `false`. - **logger** - Verbose output. Defaults to `false`.
- **include** - Include files. Support wildcard pattern. - **include** - Include files. Support wildcard pattern.
- Exclude `*.min.svg` by default. - Exclude `*.min.svg` by default.
- **plugin** - Plugin options. - **plugins** - Plugin options.
- To retain comments, `plugins: [{removeComments: false}]`. - To retain comments, `plugins: [{removeComments: false}]`.
For more options, see [svgo](https://github.com/svg/svgo). For more options, see [svgo](https://github.com/svg/svgo).

View File

@ -38,7 +38,7 @@ if (hexo.config.neat_enable === true) {
enable: true, enable: true,
logger: false, logger: false,
include: ['*.svg', '!*.min.svg'], include: ['*.svg', '!*.min.svg'],
plugin: [] plugins: []
}, hexo.config.neat_svg) }, hexo.config.neat_svg)
// gzip compression // gzip compression