hxnodejs icon indicating copy to clipboard operation
hxnodejs copied to clipboard

Ignores `sys` conditional compilation block

Open darmie opened this issue 3 years ago • 1 comments

hxnodejs would not compile blocks that check if target is sys compatible.

e.g the following code will not work on hxnodejs

#if sys 
Sys.println("Hello Haxe!")
#end

darmie avatar Feb 12 '22 16:02 darmie

yes, because hxnodejs is not sync by default because it's not fully compatible

see this link https://github.com/HaxeFoundation/hxnodejs/blob/master/extraParams.hxml

https://community.haxe.org/t/using-sys-in-nodejs-target/3702/3

neimanpinchas avatar Oct 02 '22 15:10 neimanpinchas