@taole/deploy-helper 0.7.2 → 0.7.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.
- package/lib/offlinePkg.mjs +2 -2
- package/package.json +1 -1
package/lib/offlinePkg.mjs
CHANGED
|
@@ -202,8 +202,8 @@ export function checkOfflinePkg(config) {
|
|
|
202
202
|
errorMsg = "啊没有package.json?";
|
|
203
203
|
canBuildOfflinePkg = false;
|
|
204
204
|
} else {
|
|
205
|
-
if (!allDeps['
|
|
206
|
-
errorMsg = "检查到项目中未安装依赖@
|
|
205
|
+
if (!allDeps['vite-plugin-dynamic-base'] && !allDeps['@taole/vite-plugin-dynamic-base']) {
|
|
206
|
+
errorMsg = "检查到项目中未安装依赖@taole/vite-plugin-dynamic-base, 请先安装依赖并调整构建代码以支持离线化,相关文档:https://alidocs.dingtalk.com/i/nodes/ydxXB52LJqexwD71F9K5XNMrJqjMp697?doc_type=wiki_doc";
|
|
207
207
|
canBuildOfflinePkg = false;
|
|
208
208
|
}
|
|
209
209
|
}
|