gulp-jqtmpl
Compile jQuery templates with Gulp
Installation
npm install -save gulp-jqtmpl
Usage
var gulp = ; var compile = ; gulp;
Compile separate templates file into one file
Use gulp-concat to combine all of your template files before compiling.
var gulp = ; var compile = ; var concat = ; gulp;
Options
map
[function(object): string] - This function takes an object containing the name of the template and the template function and returns the string written to the file. By default this function uses the exports object
exports'<template_name>' = <template_function>;
-
prefix
[string] - A string to start the file with. Default is null. -
suffix
[string] - A string to end the file with. Default is null.
License
gulp-jqtmpl is Copyright (c) 2015 Ryan Turnquist and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved.