@khalyomede/fang-pug

0.1.2 • Public • Published

Fang Pug

Compile Pug files to html using pug. See Pug documentation to learn more about this language.

Summary

Installation

Install globally @khalyomede/fang if you did not yet.

NPM:

npm install --save-dev @khalyomede/fang-pug@0.* @khalyomede/fang@0.*

Yarn:

yarn add --dev @khalyomede/fang-pug@0.* @khalyomede/fang@0.*

Usage

Basic usage

In this example, we will compile our pug file into html.

fang.js

const fang = require('fang');
const fangPug = require('fang-pug');

const pug = () => fang.from('src/pug/**/*.pug')
    .do(fangPug())
    .save('dist');

const build = [pug];

module.exports = { build };
> yarn fang build

Readme

Keywords

none

Package Sidebar

Install

npm i @khalyomede/fang-pug

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

3.79 kB

Total Files

4

Last publish

Collaborators

  • khalyomede