hw-weapp-compiler 1.0.18 → 1.0.19

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/README.md +2 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -14,6 +14,8 @@
14
14
  npm install hw-weapp-compiler@1 -D
15
15
  ```
16
16
 
17
+ 升级版本后如果出现 `Cannot find module`,请删除业务项目中旧的安装产物并重新执行 `npm install`,确保传递依赖与 lockfile 同步。
18
+
17
19
  在业务项目的 `package.json` 中添加:
18
20
 
19
21
  ```json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hw-weapp-compiler",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "基于 webpack5 的小程序构建工具,兼容 Node.js 18~24",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -30,6 +30,7 @@
30
30
  "file-loader": "^6.2.0",
31
31
  "fs-extra": "^9.1.0",
32
32
  "htmlparser2": "^6.0.1",
33
+ "isobject": "3.0.1",
33
34
  "less": "4.6.7",
34
35
  "less-loader": "^8.0.0",
35
36
  "loader-utils": "^2.0.0",