提升webpack启动时间
2022-11-13 本文已影响0人
海豚先生的博客
HardSourceWebpackPlugin,提升webpack再次启动时间
npm install --save-dev hard-source-webpack-plugin
var HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
module.exports = {
plugins: [
new HardSourceWebpackPlugin()
]
}