RequireJS loader helper for transpiler and template plugins