fraserxu / fraserxu/gulp-html2js

I want to use option, rename. How can I use ?

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
38
Forks
24
PR merge metrics
No merged PRs in 30d

Description

I am changing from grunt to gulp.

my configuration is like the following.
html2js: {
default_options: {
options: {
base: '<%=devDir%>',
rename: function(moduleName) {
return '/' + moduleName;
}
},
src: ['<%= src.tpl%>','<%=src.data%>'],
dest: '<%=distDir%>/<%=pkg.name%>.templates.js',
module: 'app.templates'
}
},

Now, I want to use rename option in the gulp.
But, available options are all like the follwings?
base - project source path default to "."
quoteChar - default to "
indentString - default to " " (two spaces)
target (coffee support to be added)
useStrict - default to false
outputModuleName - default ot module name

I want to use option, rename. How can I use ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.