When using the grunt-ts
plugin and specifying the html: ["*.tpl.html"]
option, it converts *.tpl.html
files into *.tpl.html.js
files at the end of the process, creating a global var
.
Is there a way to configure grunt-ts
to output the final .js
file in a different module format, such as AMD or CommonJS, instead of relying on globals?