Commit 615bd10e by xinla

Merge branch 'front_end_dev' into front_end_dev_1.5

2 parents b73c7856 2d24e836
......@@ -58,6 +58,7 @@
"normalize.css": "^8.0.1",
"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!