Inject useful debug info to each entry js globally
npm install webpack-debug-pluginInject useful debug info to each entry js globally
> Highly inspired by BannerPlugin
``bash
npm install --save-dev webpack-debug-plugin
`javascript
const DebugPlugin = require('webpack-debug-plugin');
// webpack.config.js
{
plugins: [
new DebugPlugin(options)
]
}
`Options
`js
{
template: Function,
multiple: boolean,
variableName: string,
test: string | RegExp | Array,
include: string | RegExp | Array,
exclude: string | RegExp | Array,
}
``MIT