xhs-mp-compiler-cli 1.3.9 → 1.3.10-beta.0

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.
@@ -90,6 +90,7 @@ class XhsAssetsPlugin {
90
90
  const { project, packSetting, packMode } = this.options;
91
91
  const { compilePkgs = [const_1.default.MAIN_PKG] } = packSetting;
92
92
  // const { mainPkg, subPkgs } = packSetting.getCompilePkgsForEntries()
93
+ appJSON.allowLazyAppJs = true; // 允许预加载业务包标识 for 客户端
93
94
  // 先删除,用户配置的默认不生效
94
95
  Reflect.deleteProperty(appJSON, 'lazyCodeLoading');
95
96
  if (packSetting.enableVDom) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xhs-mp-compiler-cli",
3
- "version": "1.3.9",
3
+ "version": "1.3.10-beta.0",
4
4
  "description": "xhs mp command tool.",
5
5
  "preferGlobal": true,
6
6
  "category": "esm",
@@ -82,11 +82,11 @@
82
82
  "webpack-bundle-analyzer": "^4.4.0",
83
83
  "webpack-chain": "^6.5.1",
84
84
  "webpack-sources": "^3.2.2",
85
- "xhs-mp-compiler-ml-loader": "^1.3.9",
86
- "xhs-mp-compiler-utils": "^1.3.9",
87
- "xhs-mp-pack": "^1.3.9",
88
- "xhs-mp-project": "^1.3.9",
89
- "xhs-mp-utils": "^1.3.9"
85
+ "xhs-mp-compiler-ml-loader": "^1.3.10-beta.0",
86
+ "xhs-mp-compiler-utils": "^1.3.10-beta.0",
87
+ "xhs-mp-pack": "^1.3.10-beta.0",
88
+ "xhs-mp-project": "^1.3.10-beta.0",
89
+ "xhs-mp-utils": "^1.3.10-beta.0"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@types/babel__generator": "7.6.3",