Transform module source at require-time.