File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,13 @@ for (let keyedType of ['keyed', 'non-keyed']) {
44
44
}
45
45
if ( fs . existsSync ( fd + "/target/web/stage" ) )
46
46
zip . addLocalFolder ( fd + "/target/web/stage" , zipPathName + "/target/web/stage" ) ;
47
- if ( fs . existsSync ( fd + "/output" ) )
47
+ if ( name == "halogen" && fs . existsSync ( fd + "/output" ) ) {
48
+ zip . addLocalFile ( fd + "/output/bundle.js" , zipPathName + "/output" )
49
+ } else if ( name == "dojo" && fs . existsSync ( fd + "/output/dist" ) ) {
50
+ zip . addLocalFolder ( fd + "/output/dist" , zipPathName + "/output/dist" , ( file ) => {
51
+ return ! file . includes ( "/" ) ;
52
+ } ) ;
53
+ } else if ( fs . existsSync ( fd + "/output" ) )
48
54
zip . addLocalFolder ( fd + "/output" , zipPathName + "/output" ) ;
49
55
if ( fs . existsSync ( fd + "/build" ) )
50
56
zip . addLocalFolder ( fd + "/build" , zipPathName + "/build" ) ;
You can’t perform that action at this time.
0 commit comments