COMMUNITY

--macro includeFile at position "bottom"?

Adding --macro includeFile('include.js', 'top') to a .hxml file makes it possible to add the content at the top of the generated target file (at least in js an lua targets).

At times, it should be useful to add content at the end of the generated file instead. The includePosition flag doesn’t however have a 'bottom' alternative.

Is there a rationale to why there is a 'top'alternative, but not a 'bottom'one?
Should I file an issue about it?

1 Like