@zeppos/zeus-cli 1.7.9 → 1.7.10

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/modules/build.js +2 -1
  2. package/package.json +1 -1
package/modules/build.js CHANGED
@@ -290,7 +290,8 @@ var chooseBuildPackages = function (mode, args) {
290
290
  result = {};
291
291
  if (!(configVersion === 'v3')) return [3, 3];
292
292
  _a = args.sources, sources = _a === void 0 ? [] : _a;
293
- if (!(mode !== BuildMode.PROD || (args.target && sources.length <= 0))) return [3, 2];
293
+ if (!(sources.length <= 0)) return [3, 2];
294
+ if (!(mode !== BuildMode.PROD || args.target)) return [3, 2];
294
295
  _c = (_b = Object).assign;
295
296
  _d = [result];
296
297
  return [4, chooseBuildTargetsV3Config(mode, args)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeppos/zeus-cli",
3
- "version": "1.7.9",
3
+ "version": "1.7.10",
4
4
  "description": "zeus mini-program tools",
5
5
  "main": "index.ts",
6
6
  "author": "zepp",