Skip to content
A parser plugin for fis to compile dust file.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE.md
README.md
index.js
package.json

README.md

fis-parser-dust

A parser plugin for fis to compile dust file.

usage

$ npm install -g fis-parser-dust
$ vi path/to/project/fis-conf.js
//file : path/to/project/fis-conf.js
//NOTE : name of template registed in dust will be '/relative/path/to/.dust/file', one more '/' than the output of grunt-dust.
fis.config.merge({
    roadmap : {
        ext : {
            dust : 'dust'
        }
    },
    modules : {
        parser : {
            dust : 'dust'
        }
    },
    settings : {
        parser : {
            dust : {
                basePath : "" //optional: rewrite prefix before filename
            }
        }
    }
});
Something went wrong with that request. Please try again.