RequireJS loader plugin helper for transpiler and template plugins