refactor: add 'use strict'

This commit is contained in:
weyusi 2019-05-27 10:44:04 +09:30
parent 654d279378
commit 655f65adcd
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,6 @@
/* global hexo */ /* global hexo */
'use strict'
if (hexo.config.neat_enable === true) { if (hexo.config.neat_enable === true) {
// HTML minifier // HTML minifier
hexo.config.neat_html = Object.assign({ hexo.config.neat_html = Object.assign({

View File

@ -1,5 +1,6 @@
/* global hexo */ /* global hexo */
'use strict' 'use strict'
const Htmlminifier = require('html-minifier').minify const Htmlminifier = require('html-minifier').minify
const CleanCSS = require('clean-css') const CleanCSS = require('clean-css')
const Terser = require('terser') const Terser = require('terser')