Commit 98eba8b7 by 闻闻闻

更新插件

1 parent 7520e3e2
......@@ -57,6 +57,7 @@
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
"path-to-regexp": "2.4.0",
"performance_test_plugins_milk": "0.0.3",
"promise.prototype.finally": "^3.1.2",
"screenfull": "4.2.0",
"sortablejs": "1.8.4",
......
'use strict'
const path = require('path')
const performancePlugin = require('performance_test_plugins_milk')
function resolve(dir) {
return path.join(__dirname, dir)
......@@ -55,6 +56,9 @@ module.exports = {
'@': resolve('src'),
},
},
plugins: [
new performancePlugin()
]
},
chainWebpack(config) {
// 修复HMR
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!