Closed sethkrasnianski closed 5 years ago
This is for those who don't want their templates exposed as JST to window. For example:
JST
window
return gulp.src(config.jade.templates.src) .pipe($.jade()) .pipe($.jstConcat('templates.js', { renameKeys: ['^.*views/templates/(.*).html$', '$1'], namespace: 'mySweetTemplates' // exposes templates to window as mySweetTemplates })) ...
This is for those who don't want their templates exposed as
JST
towindow
. For example: