Is there an equivalent of the Embed meta-data from ActionScript, or include_str! and include_bytes! from Rust, in Haxe? I mean, a static, synchronous and relative-path way of embedding file within a library or program. I wish Haxe had the following syntax:
var ba = embed './data.bin' as 'application/octet-stream';
(Note the ./ part; it means relative to the actual Haxe script.)
At least for embedding either text or binary content. If this does not exist, can it be considered as feature?