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 */ | /* 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({ | ||||||
|  |  | ||||||
|  | @ -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') | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue