diff --git a/lib/css.js b/lib/css.js index e0a36fe..269e826 100644 --- a/lib/css.js +++ b/lib/css.js @@ -17,7 +17,6 @@ async function minifyCss(str, data) { if (isMatch(path, exclude, globOptions)) return str try { - console.log(path) const styles = await new CleanCSS(options).minify(str).styles if (verbose) logFn.call(this, str, styles, path, 'css') return styles diff --git a/package.json b/package.json index c1cebe9..13656ed 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "url": "git+https://github.com/curbengh/hexo-yam.git" }, "dependencies": { - "@mongodb-js/zstd": "^1.2.0", "clean-css": "^5.1.2", "html-minifier-terser": "^7.2.0", "micromatch": "^4.0.2", @@ -39,6 +38,9 @@ "jest": "^29.1.2", "standard": "^17.0.0" }, + "optionalDependencies": { + "@mongodb-js/zstd": "^2.0.0" + }, "keywords": [ "minify", "compress",