1.0.0 • Published 3 years ago

bundle-filelist-webpack-plugin v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

a webpack plugin that outputs webpack bundle assets to a markdown file

Usage

  1. install
npm install bundle-fileList-webpack-plugin --save-dev
  1. in your webpack config file
const BundlefileListWebpackPlugin = require('bundle-fileList-webpack-plugin');

// webpack config object

module.exports = {
  ...

  plugins: [
    ...
    new BundlefileListWebpackPlugin({
      // 生成的 markdow 文件名称(带上.md 扩展名)
      filename: 'myAssetsList.md'
    }),
    ...
  ],
  ...
}