Skip to content

Commit

Permalink
flash: use -dce no so that Haxe standard library functions aren't rem…
Browse files Browse the repository at this point in the history
…oved

If another library depends on Feathers UI, builds a .swc for Flash, and depends on functions that were removed, they will break
  • Loading branch information
joshtynjala committed Jul 28, 2023
1 parent 2a73c72 commit a799ce0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
<haxeflag name="--macro" value="AddFlashPropertyMeta.find('feathers')"/>
<haxeflag name="--macro" value="AddEventMeta.find('feathers')"/>
<haxeflag name="--macro" value="AddDefaultPropertyMeta.find('feathers')"/>
<!--
don't remove dead code because other libraries that depend on
Feathers UI and need to build .swc files too might need it
-->
<haxeflag name="-dce" value="no"/>
</section>

<section if="find_missing_docs">
Expand Down

0 comments on commit a799ce0

Please sign in to comment.