gulp-html2js
gulp-html2js copied to clipboard
I want to use option, rename. How can I use ?
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 ?
Hello,
You can use the CONCAT pipe (gulp-concat) or the RENAME pipe (gulp-rename). This module does not have a RENAME option integrated.