1.0.2 • Published 6 years ago

posthtml-plugin-dynamic v1.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

posthtml-plugin-dynamic


posthtml plugin get a ability for dynamic add change node.

Install

npm i --save-dev posthtml-plugin-dynamic

Usage

posthtml.config.js

module.exports = {
  walk(node, filePath) {
    // you can  dynamic change the node
    // support return Promise<node>
    return node
  }
} 
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago