-------------------------------------------------------------------------------------------------
使用dll后代码体积 使用dll前代码体积-------------------------------------------------------------------------------------------------
dll配置 实际加载文件大小 除去dll配置的文件大小-------------------------------------------------------------------------------------------------
引入hard-source-webpack-plugin:
npm install --save-dev hard-source-webpack-plugin
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
module.exports = {
// ...... plugins: [
new HardSourceWebpackPlugin()
]}
网友评论