xhs-mp-compiler-cli 1.3.3 → 1.3.4

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.
@@ -12,7 +12,10 @@ const component_1 = require("./component");
12
12
  const renderChunkPlugin_1 = __importDefault(require("./renderChunkPlugin"));
13
13
  const types_1 = require("../../../../types");
14
14
  const InjectorPlugin_1 = require("../../../plugins/InjectorPlugin");
15
- const getRenderEntry = (options) => () => (Object.assign(Object.assign({}, (0, render_1.getRenderEntry)(options)), (0, component_1.getComponentEntry)(options)));
15
+ const getRenderEntry = (options) => () => {
16
+ const res = Object.assign(Object.assign({}, (0, render_1.getRenderEntry)(options)), (0, component_1.getComponentEntry)(options));
17
+ return res;
18
+ };
16
19
  exports.getRenderEntry = getRenderEntry;
17
20
  const presetRender = (chain, options) => {
18
21
  const { packSetting } = options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xhs-mp-compiler-cli",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
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.3",
86
- "xhs-mp-compiler-utils": "1.2.3",
87
- "xhs-mp-pack": "^1.2.3",
88
- "xhs-mp-project": "^1.2.3",
89
- "xhs-mp-utils": "^1.3.3"
85
+ "xhs-mp-compiler-ml-loader": "1.3.4",
86
+ "xhs-mp-compiler-utils": "1.2.4",
87
+ "xhs-mp-pack": "^1.2.4",
88
+ "xhs-mp-project": "^1.2.4",
89
+ "xhs-mp-utils": "^1.3.4"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@types/babel__generator": "7.6.3",