From @dheniges
includeFile(templateName, scriptPath)
- Copy provided script file to
config.assetFolder
- Include the file in renderContext
scripts for templateName [if templateName is null, include on all]
Refactor includeScript and includeComponent to use at least the same renderContext logic.