grunt-html-improved

0.2.4 • Public • Published

grunt-html-improved npm package

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'
        };
    }
}

Package Sidebar

Install

npm i grunt-html-improved

Weekly Downloads

18

Version

0.2.4

License

none

Unpacked Size

22.8 kB

Total Files

4

Last publish

Collaborators

  • alexrodin