From 5ea5e904c04b2fafa08526bbacb0916e19f8f3dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=84=9A=E9=81=93?= Date: Fri, 7 Dec 2018 19:12:10 +0800 Subject: [PATCH] comment hardsource --- config/config.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config/config.js b/config/config.js index 1d5f2530..41e66ece 100644 --- a/config/config.js +++ b/config/config.js @@ -27,15 +27,15 @@ const plugins = [ importWorkboxFrom: 'local', }, }, - ...(!process.env.TEST && os.platform() === 'darwin' - ? { - dll: { - include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'], - exclude: ['@babel/runtime'], - }, - hardSource: false, - } - : {}), + // ...(!process.env.TEST && os.platform() === 'darwin' + // ? { + // dll: { + // include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'], + // exclude: ['@babel/runtime'], + // }, + // hardSource: true, + // } + // : {}), }, ], ]; -- GitLab