Tag:Webpack practice

  • A tutorial of dllplugin and dllreferenceplugin in webpack practice

    Time:2020-1-6

    Use of dllplugin and dllreferenceplugin Dllplugin and dllreferenceplugin realize the splitting of bundles in some way, and at the same time greatly improve the construction speed. 1. First add the build folder —– webpack.dll.config.js: var path = require(“path”); var webpack = require(“webpack”); module.exports = { //Array of modules to package entry: { vendor: [‘vue/dist/vue.esm.js’,’vue-router’] }, […]