Webpack 打包速度分析
+const SpeedMeasurePlugin = require('speed-measure-webpack-plugin'); +const smp = new SpeedMeasurePlugin({ + outputFormat: 'humanVerbose' +}); const webpackConfig = merge(baseWebpackConfig, { // .. }); -module.exports = webpackConfig; +module.exports = smp.wrap(webpackConfig);