pug-site-core 3.0.14 → 3.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generate.js +1 -1
- package/package.json +2 -2
package/lib/generate.js
CHANGED
|
@@ -534,7 +534,7 @@ export async function buildStatic() {
|
|
|
534
534
|
try {
|
|
535
535
|
return await htmlMinify(html, htmlMinifyOptions);
|
|
536
536
|
} catch (error) {
|
|
537
|
-
console.warn(`HTML压缩失败 [${filePath}]
|
|
537
|
+
console.warn(`HTML压缩失败 [${filePath}]`);
|
|
538
538
|
return html; // 如果压缩失败,返回原始HTML
|
|
539
539
|
}
|
|
540
540
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pug-site-core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.15",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"ws": "^8.18.0"
|
|
53
53
|
},
|
|
54
54
|
"license": "ISC",
|
|
55
|
-
"description": "
|
|
55
|
+
"description": "取消压缩失败的massage log",
|
|
56
56
|
"files": [
|
|
57
57
|
"lib/",
|
|
58
58
|
"index.js"
|