1.0.2 • Published 7 years ago

fly-pug v1.0.2

Weekly downloads
3
License
WTFPL
Repository
github
Last release
7 years ago

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

1.0.2

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago