File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -275,8 +275,8 @@ class HTML5Platform extends PlatformTarget
275275 catch (e : Dynamic ) {}
276276
277277 finalRelease = (! project .debug && project .targetFlags .exists (" final" ));
278- assetsDirectory = targetDirectory + ( npm ? " /public " : " / bin" ) ;
279- outputDirectory = targetDirectory + ( npm ? " /build " : " /bin " ) ;
278+ outputDirectory = targetDirectory + " / bin" ;
279+ assetsDirectory = outputDirectory ;
280280 outputFile = outputDirectory + " /" + project .app .file + " .js" ;
281281 }
282282
@@ -311,7 +311,8 @@ class HTML5Platform extends PlatformTarget
311311
312312 if (needsInstall )
313313 {
314- runNPMCommand ([" install" ]);
314+ // Show output, even when !verbose
315+ System .runCommand (targetDirectory , " npm" , [" install" ]);
315316 }
316317 }
317318
@@ -453,6 +454,7 @@ class HTML5Platform extends PlatformTarget
453454
454455 if (npm )
455456 {
457+ // Ensure all HXML paths are absolute
456458 var path : String ;
457459 for (i in 0 ... project .sources .length )
458460 {
You can’t perform that action at this time.
0 commit comments