mirror of https://github.com/curbengh/hexo-yam
refactor: add 'use strict'
This commit is contained in:
parent
654d279378
commit
655f65adcd
2
index.js
2
index.js
|
@ -1,4 +1,6 @@
|
|||
/* global hexo */
|
||||
'use strict'
|
||||
|
||||
if (hexo.config.neat_enable === true) {
|
||||
// HTML minifier
|
||||
hexo.config.neat_html = Object.assign({
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* global hexo */
|
||||
'use strict'
|
||||
|
||||
const Htmlminifier = require('html-minifier').minify
|
||||
const CleanCSS = require('clean-css')
|
||||
const Terser = require('terser')
|
||||
|
|
Loading…
Reference in New Issue