Is there a way to set "-minify" in project.xml?

I am using FlashDevelop, if I want minified html5 output, I cannot use FD’s build button. What I need to do is to fire up command prompt and manually do lime build html5 -minify. It would be great if I can specify the option in the xml project file.

Note: tried <haxeflag name="-minify" if="html5"/> which doesn’t work because the flag is used at haxe level not lime level.

Would it work to do “html5 -minify” in the target box, or “html5 -final”?

Perhaps we could do a pull request (or tell Philippe) to perhaps add “Final” to the list in addition to “Debug” and “Release” when targeting OpenFL

the target box solution worked. thanks very much!