jh5_app_build 1.0.25 → 1.0.26
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/bin/jh5_app_build.js +18 -1
- package/lib/build_std.js +1 -1
- package/package.json +1 -1
package/bin/jh5_app_build.js
CHANGED
|
@@ -122,7 +122,11 @@ program
|
|
|
122
122
|
value: "std"
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
|
-
name: '
|
|
125
|
+
name: 'Weds device lite(*.jap file)',
|
|
126
|
+
value: "weds,nobin,noweb"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: 'Std device lite(*.apk file)',
|
|
126
130
|
value: "std,noweb"
|
|
127
131
|
}
|
|
128
132
|
]
|
|
@@ -133,6 +137,19 @@ program
|
|
|
133
137
|
// 标准应用
|
|
134
138
|
buildCfg.isStdApp = buildCfg.platform.includes("std");
|
|
135
139
|
|
|
140
|
+
// 不加入app
|
|
141
|
+
if (buildCfg.platform.includes("noapp")) {
|
|
142
|
+
cmd.noapp = true;
|
|
143
|
+
}
|
|
144
|
+
// 不加入bin
|
|
145
|
+
if (buildCfg.platform.includes("nobin")) {
|
|
146
|
+
cmd.nobin = true;
|
|
147
|
+
}
|
|
148
|
+
// 不加入web
|
|
149
|
+
if (buildCfg.platform.includes("noweb")) {
|
|
150
|
+
cmd.noweb = true;
|
|
151
|
+
}
|
|
152
|
+
|
|
136
153
|
// 缺省输出文件
|
|
137
154
|
if (cmd.outpath) {
|
|
138
155
|
buildCfg.outpath = cmd.outpath;
|
package/lib/build_std.js
CHANGED