grunt-html-improved
Grunt plugin for html-improved
Sample Project
html-improved-sample
htmlImproved task
Run this task with the grunt htmlImproved
command.
Task targets, files and options may be specified according to the grunt Configuring tasks guide.
Options
defaultVars
Type: Object|Function
Sets the variables passed to Html Improved during template compilation. Any data can be passed to the template.
options: {
defaultVars: {
package: require('./package.json'),
project: require('./project.json'),
otherVar: 'value'
}
}
This value also might be a function.
options: {
defaultVars: function() {
return {
package: require('./package.json'),
project: require('./project.json'),
otherVar: 'value'
};
}
}