Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 357 Bytes

File metadata and controls

23 lines (18 loc) · 357 Bytes

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',
      }),
  ]
}