speed-measure-webpack-plugin和DllPlugin如何在飞冰中使用? #6189
Unanswered
Sharang-heng
asked this question in
Q&A(2.x)
Replies: 1 comment 1 reply
-
我这样写但是打印出来的东西好少 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
const SpeedMeasurePlugin = require('speed-measure-webpack-plugin');
// 参考配置#3179
module.exports = ({
onGetWebpackConfig,
}) => {
onGetWebpackConfig((config) => {
config
.plugin('BundleAnalyzerPlugin')
.use(SpeedMeasurePlugin);
});
};
Beta Was this translation helpful? Give feedback.
All reactions