fly-pug
v1.0.2
Published
Pug plugin for Fly.
Downloads
10
Readme
fly-pug
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.