Is there a method to prevent certain code from being compiled by the Typescript compiler based on a variable that needs to be provided in the compiler command? This would be beneficial for developing multi-platform applications where the code is mostly similar but with slight variations. Instead of constantly branching and merging code, you could simply instruct the compiler to exclude or include specific code.
Thank you