Skip to content

Commit 8bfc0be

Browse files
committed
WebAssemblyPlatform: missed -json flag here in #1882
1 parent 03ea041 commit 8bfc0be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/platforms/WebAssemblyPlatform.hx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,11 @@ class WebAssemblyPlatform extends PlatformTarget
430430
project.haxeflags.push("-xml " + targetDirectory + "/types.xml");
431431
}
432432

433+
if (project.targetFlags.exists("json"))
434+
{
435+
project.haxeflags.push("-json " + targetDirectory + "/types.json");
436+
}
437+
433438
var context = project.templateContext;
434439

435440
context.WIN_FLASHBACKGROUND = StringTools.hex(project.window.background, 6);

0 commit comments

Comments
 (0)