markdown-sitemap-generator-webpack-plugin

0.0.2 • Public • Published

Markdown Site Map Generator Plugin

Generate Site Map from markdown

Installation

Node.js

npm install markdown-rss-generator-webpack-plugin

Usage Example (ES6)

In your Webpack Config file

const MarkdownSiteMapGeneratorPlugin = require("markdown-sitemap-generator-webpack-plugin").default;

//define the options
const option = {
      host: Config.url,
      links: [], //links that you also want to include in the site map
      route: "/items",
      outputPath:"sitemap.txt"
    }

//In the plugin section

 plugins: [
  new MarkdownSiteMapGeneratorPlugin(option)
 ]

Dependents (0)

Package Sidebar

Install

npm i markdown-sitemap-generator-webpack-plugin

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

77.3 kB

Total Files

3

Last publish

Collaborators

  • haleluohao