1.0.2 • Published 4 years ago

posthtml-plugin-dynamic v1.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
4 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

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago