Implement "transform" hook for pre-processing source files