Skip to content

stakit/stakit-posthtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stakit-posthtml

PostHTML transforms for Stakit

Installation

npm i stakit-posthtml

Example

var stakit = require('stakit')
var posthtml = require('stakit-posthtml')
var minify = require('stakit-posthtml/minify')
var minifier = require('posthtml-minifier')

stakit()
  .transform(posthtml, {
    use: [minifier]
  })
  // or
  .transform(minify)
  .output()

The posthtml-minifier plugin is included because it's a very common use-case.

About

PostHTML transform for Stakit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published