Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fngr2911/laravel-mix-pug-to-html

Laravel mix extension to build html pages from pug files and partials
https://github.com/fngr2911/laravel-mix-pug-to-html

html laravel-mix pug webpack

Last synced: 12 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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!

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

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