Commit 2d24e836 by 闻闻闻

更新插件

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