markdown-to-js-webpack-plugin

0.0.1 • Public • Published

Markdown to JS Webpack Plugin

Merge all markdowns and load to one js file

Installation

Node.js

npm install markdown-to-js-webpack-plugin

Usage Example (ES6)

In your Webpack Config file

const MarkdownToJS = require("markdown-to-js-webpack-plugin").default;

//define the options
const option = {
                outputPath: "md.js"
    }

//In the plugin section

 plugins: [
  new MarkdownToJS(option)
 ]

Readme

Keywords

Package Sidebar

Install

npm i markdown-to-js-webpack-plugin

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

76.4 kB

Total Files

3

Last publish

Collaborators

  • haleluohao