I would suggest, not preprocess the code and rather use already transpiled code.