This commit is contained in:
ausir 2017-05-21 21:30:45 +08:00
parent 4390b44814
commit b59ccb1935

View File

@ -41,7 +41,7 @@ const defaults = {
export default async function () {
const s = Date.now()
let errors = []
if (this.options.generate.minify === true) delete this.options.generate.minify
if (this.options.generate && this.options.generate.minify === true) delete this.options.generate.minify
/*
** Set variables
*/