Run source transform function on node require call