perf-module-webpack-plugin
Scope
the plugin computing time of all the modules bundled by webpack,and show the list of the top N modules who cost self execting.
it runs with dev server for it injects code at runtime will useless in prod;
Install
npm i perf-module-webpack-plugin --save
Usage
webpack.dev.conf
const perfModuleWebpackPlugin =;moduleexports = plugins: url:"http://exp.smfe.sina.cn/service/addPerf"// report server(post、cors),defalut null