mirror of https://github.com/curbengh/hexo-yam
fix: typo in default config of svgo
This commit is contained in:
parent
8531b77cfc
commit
db58c8e686
|
@ -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).
|
||||||
|
|
2
index.js
2
index.js
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue