pug-site-core 3.0.13 → 3.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/lib/devServer.js +1 -1
  2. package/package.json +2 -2
package/lib/devServer.js CHANGED
@@ -173,7 +173,7 @@ function setupRoutes(app, wss) {
173
173
  }
174
174
  pugPath = paths.resolveRoot(pagsTemplatePath, lastPath) + ".pug";
175
175
  } else {
176
- pugPath = paths.resolveRoot(pagsTemplatePath, pageInfoObj.pugPath) + ".pug";
176
+ pugPath = paths.resolveRoot(pagsTemplatePath, pageInfoObj.pugPath);
177
177
  data = pageInfoObj.data;
178
178
  jsonDataPath = "自定义路由数据";
179
179
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pug-site-core",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
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": "优化自定义路由的pug文件路径获取",
55
+ "description": "优自定义路由的pug文件路径获取以及路径bug修复",
56
56
  "files": [
57
57
  "lib/",
58
58
  "index.js"