fly-pug

1.0.2 • Public • Published

fly-pug

fly badge npm badge download badge travisbadge license badge

Pug plugin for Fly .

Install

This plugin requires Fly .

npm i -D fly-pug

Usage

Async/Await flavored:

export async function pagu () {
  await this
    .source('src/*.pug')
    .pug()
    // or pass your options to pug
    // .pug({pretty: true})
    .target('dist')
}

Generator function flavored:

exports.pagu = function* () {
  yield this
    .source('src/*.pug')
    .pug()
    // or pass your options to pug
    // .pug({pretty: true})
    .target('dist')
}

Check out Pug documentation for available options.

License

Do What The F*ck You Want To Public License

/fly-pug/

    Package Sidebar

    Install

    npm i fly-pug

    Weekly Downloads

    2

    Version

    1.0.2

    License

    WTFPL

    Last publish

    Collaborators

    • frantic1048