I am facing a perplexing issue: why does the following error occur when compiling with typescript using the --outFile flag?:
ReferenceError: System is not defined
This error only arises during the bundling process. I have been searching for a solution but haven't been able to resolve it yet. Any assistance would be greatly appreciated. Thank you.