@hyext/builder-revues 1.0.17 → 1.0.19
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/dist/index.js
CHANGED
@@ -295,7 +295,8 @@ function compile(mode, projectPath, outputPath) {
|
|
295
295
|
outputPath,
|
296
296
|
cachePath: cacheDir,
|
297
297
|
compileSettings,
|
298
|
-
plugins
|
298
|
+
plugins,
|
299
|
+
mode
|
299
300
|
});
|
300
301
|
const action = isProd ? 'compile' : 'compileDev';
|
301
302
|
yield codeCompiler.compilerManager[action]();
|
@@ -328,6 +329,7 @@ function compileGame(mode, projectPath, outputPath) {
|
|
328
329
|
outputPath,
|
329
330
|
cachePath: cacheDir,
|
330
331
|
plugins,
|
332
|
+
mode,
|
331
333
|
compileSettings: {
|
332
334
|
cocos: true,
|
333
335
|
minify: mode === 'prod'
|
@@ -1178,6 +1180,9 @@ class RevueBuilder {
|
|
1178
1180
|
}
|
1179
1181
|
logger.success('打包成功,zip包地址:' + zipPath);
|
1180
1182
|
}
|
1183
|
+
else {
|
1184
|
+
logger.success('打包成功,资源包地址:' + outputPath);
|
1185
|
+
}
|
1181
1186
|
});
|
1182
1187
|
}
|
1183
1188
|
packNpm(opts) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hyext/builder-revues",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.19",
|
4
4
|
"description": "> TODO: description",
|
5
5
|
"author": "loler",
|
6
6
|
"homepage": "",
|
@@ -24,11 +24,11 @@
|
|
24
24
|
"minify": "node scripts/minify"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@revues/cocos-web-adapter": "1.0.
|
28
|
-
"@revues/code-compiler": "1.0.
|
29
|
-
"@revues/hyext-adapter": "1.0.
|
30
|
-
"@revues/web-frame": "1.0.
|
31
|
-
"@revues/web-sdk-core": "1.0.
|
27
|
+
"@revues/cocos-web-adapter": "1.0.19",
|
28
|
+
"@revues/code-compiler": "1.0.19",
|
29
|
+
"@revues/hyext-adapter": "1.0.19",
|
30
|
+
"@revues/web-frame": "1.0.19",
|
31
|
+
"@revues/web-sdk-core": "1.0.19",
|
32
32
|
"archiver": "^7.0.1",
|
33
33
|
"axios": "^1.7.1",
|
34
34
|
"chalk": "^2.4.2",
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"@types/ramda": "^0.29.11",
|
48
48
|
"terser": "^5.31.0"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "c5486148279e81dc655da8570341462b557e50bf"
|
51
51
|
}
|