@taole/deploy-helper 1.1.8-beta.2 → 1.1.8-beta.3

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.
@@ -74,7 +74,7 @@ export async function lightDeploy(config, mode) {
74
74
  );
75
75
  const version = projectJson.version;
76
76
  // 校验cdnType只能是lib或者project
77
- const cdnType = config.cdnType;
77
+ const cdnType = config.cdnType || 'project';
78
78
  if (cdnType !== "lib" && cdnType !== "project") {
79
79
  throw new Error("配置项 cdnType 仅支持 'lib' 或 'project'");
80
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taole/deploy-helper",
3
- "version": "1.1.8-beta.2",
3
+ "version": "1.1.8-beta.3",
4
4
  "description": "脚本部署工具,用于将项目部署到测试环境或生产环境",
5
5
  "main": "index.mjs",
6
6
  "type": "module",