pug-site-core 2.0.13 → 2.0.14

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { startDevServer } from "./lib/devServer.js";
2
2
  import { translateLanguageData } from "./lib/translate.js";
3
- import { compressImages, processImagemin } from "./lib/imagemin.js";
3
+ import { processImagemin } from "./lib/imagemin.js";
4
4
  import {
5
5
  generateGetDataFn,
6
6
  compilePagesPugToFn,
@@ -17,7 +17,7 @@ export const pugSiteCore = {
17
17
  buildFn,
18
18
  buildStatic,
19
19
  translateLanguageData,
20
- compressImages,
20
+ processImagemin,
21
21
  };
22
22
 
23
23
  let curCmd = process.env.npm_lifecycle_event;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pug-site-core",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -45,7 +45,7 @@
45
45
  "imagemin-svgo": "^10.0.1"
46
46
  },
47
47
  "license": "ISC",
48
- "description": "修复图片压缩功能依赖问题并且支持单张图片的路径输入",
48
+ "description": "图片压缩模块导出问题",
49
49
  "files": [
50
50
  "lib/",
51
51
  "index.js"