Fix #1651: moduleTypes
may not be overriding module type for custom transpilers
#1652
+88
−39
moduleTypes
may not be overriding module type for custom transpilers
#1652