从dll到hard-source-webpack-plugin
2019-12-20 本文已影响0人
web_柚子小记



-------------------------------------------------------------------------------------------------


-------------------------------------------------------------------------------------------------



-------------------------------------------------------------------------------------------------
引入hard-source-webpack-plugin:
npm install --save-dev hard-source-webpack-plugin
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
module.exports = {
// ...... plugins: [
new HardSourceWebpackPlugin()
]}