grunt-mew-template
v0.0.6
Published
Precompile template file to a cmd module with grunt
Downloads
4
Readme
grunt-mew-template
Install
npm i -D grunt-mew-template
Usage
grunt.initConfig({
template: {
options: {
engine: 'dot',
syntax: '{{}}'
},
jst: {
options: {
engine: 'jst',
syntax: '{{}}'
},
files: {
'test/dest/jst.js': 'test/tpl/jst.tpl'
}
},
dot: {
options: {
engine: 'dot',
syntax: '<%%>'
},
files: {
'test/dest/dot.js': 'test/tpl/dot.tpl'
}
},
handlebars: {
options: {
engine: 'handlebars'
},
files: {
'test/dest/handlebars.js': 'test/tpl/handlebars.tpl'
}
},
xtemplate: {
options: {
engine: 'xtemplate'
},
files: {
'test/dest/xtemplate.js': 'test/tpl/xtemplate.tpl'
}
}
}
});