From e29c3db5f0cbb8ade665b84af06e0b4189f6c185 Mon Sep 17 00:00:00 2001 From: ChasLui <402430161@qq.com> Date: Thu, 29 Nov 2018 22:42:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BC=96=E8=AF=91=E5=8A=A0=E9=80=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用前 npm run dev 需要22629ms, 使用后11678ms --- vue.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vue.config.js b/vue.config.js index 3cf98e60..8063139e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -22,6 +22,7 @@ module.exports = { assetsDir: 'static', lintOnSave: process.env.NODE_ENV !== 'production', productionSourceMap: false, + parallel: require('os').cpus().length > 1, devServer: { port: port, open: true,