react-doc / copy-markdown-image-webpack-plugin

Copy Markdown in the picture resources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copy Markdown Image Webpack Plugin

Install the plugin via NPM:

npm i copy-markdown-image-webpack-plugin --save

webpack.config.js

module.exports = {
  entry: './src/index.js',
  plugins: [
      new CopyMarkdownImageWebpackPlugin({
        dir: ['path/to/dir','path/to/dir2'],
        toDir: 'path/to/dist',
      }),
  ]
}

About

Copy Markdown in the picture resources.


Languages

Language:JavaScript 100.0%