[TASK] Drastically reduce TS re-parsing in TemplatePaths