Open R32 opened 3 weeks ago
Main.hx
function main() { foo(); }
Foo.hx
function foo() { trace("hello foo"); }
build.hxml
haxe --main Main --js out.js --macro exclude('Foo')
output :
function Foo_foo() { console.log("src/Foo.hx:4:","foo"); } function Main_main() { Foo_foo(); }
Main.hx
Foo.hx
build.hxml
output :