@fngr/mix-pug-to-html

1.0.2 • Public • Published

laravel-mix-pug-to-html

Laravel mix extension to build html pages from pug files and partials

Installation

npm i -D @fngr/mix-pug-to-html

Usage

Require mix as asual and also this package. Now you can use it via mix.pug('srcdir', 'distdir', {options...}). Options are not working yet, but will be added soon!

const mix = require("laravel-mix");
require("@fngr/mix-pug-to-html");

mix.pug("src/views", "dist", { minify: true });

Readme

Keywords

Package Sidebar

Install

npm i @fngr/mix-pug-to-html

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

3.04 kB

Total Files

3

Last publish

Collaborators

  • fngr