wdyr-webpack-plugin
v0.1.1
Published
webpack plugin for why-did-you-render
Downloads
1
Readme
wdyr-webpack-plugin
webpack plugin for why-did-you-render
usage
Install
# by npm
$ npm install wdyr-webpack-plugin
# by yarn
$ yarn add wdyr-webpack-plugin
enable whyDidYouRender
// webpack.config.js
const WdyrWebpackPlugin = require('wdyr-webpack-plugin');
module.exports = {
plugins: [
new WdyrWebpackPlugin({
enable: process.env.NODE_ENV === 'development',
// other options
})
]
}
You can checkout the fully config options from why-did-you-render#options.