mirror of
https://github.com/amehime/hexo-renderer-multi-markdown-it.git
synced 2026-04-05 21:39:36 +08:00
fix
This commit is contained in:
6
index.js
6
index.js
@@ -31,7 +31,7 @@ hexo.extend.renderer.register('mdtext', 'html', renderer, true);
|
||||
|
||||
if (hexo.config.minify) {
|
||||
// HTML minifier
|
||||
hexo.config.minify.html = assign({
|
||||
hexo.config.minify.html = Object.assign({
|
||||
enable: true,
|
||||
logger: true,
|
||||
stamp: true,
|
||||
@@ -47,7 +47,7 @@ if (hexo.config.minify) {
|
||||
}, hexo.config.minify.html);
|
||||
|
||||
// Css minifier
|
||||
hexo.config.minify.css = assign({
|
||||
hexo.config.minify.css = Object.assign({
|
||||
enable: true,
|
||||
logger: true,
|
||||
stamp: true,
|
||||
@@ -55,7 +55,7 @@ if (hexo.config.minify) {
|
||||
}, hexo.config.minifycss);
|
||||
|
||||
// Js minifier
|
||||
hexo.config.minify.js = assign({
|
||||
hexo.config.minify.js = Object.assign({
|
||||
enable: true,
|
||||
mangle: true,
|
||||
logger: true,
|
||||
|
||||
Reference in New Issue
Block a user