1.0.0 • Published 6 years ago

webpack-debug-plugin v1.0.0

Weekly downloads
10
License
MIT
Repository
github
Last release
6 years ago

webpack-debug-plugin

Inject useful debug info to each entry js globally

Highly inspired by BannerPlugin

Usage

npm install --save-dev webpack-debug-plugin

# For Webpack 3
npm install --save-dev webpack-debug-plugin@0.x
const DebugPlugin = require('webpack-debug-plugin');
// webpack.config.js
{
  plugins: [
    new DebugPlugin(options)
  ]
}

Options

{
  template: Function,
  multiple: boolean,
  variableName: string,
  test: string | RegExp | Array,
  include: string | RegExp | Array,
  exclude: string | RegExp | Array,
}

License

MIT

1.0.0

6 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago