From f07743241676c2c6ec7f2723594140e200303627 Mon Sep 17 00:00:00 2001 From: ShawDanon Date: Fri, 30 Aug 2019 13:57:43 +0800 Subject: [PATCH] fix bug comments --- config/config.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config/config.ts b/config/config.ts index 38093c73..fadfbe6b 100644 --- a/config/config.ts +++ b/config/config.ts @@ -3,9 +3,10 @@ import defaultSettings from './defaultSettings'; // https://umijs.org/config/ import slash from 'slash2'; import webpackPlugin from './plugin.config'; -const { pwa, primaryColor } = defaultSettings; // preview.pro.ant.design only do not use in your production ; -// preview.pro.ant.design 专用环境变量,请不要在你的项目中使用它。 +const { pwa, primaryColor } = defaultSettings; +// preview.pro.ant.design only do not use in your production ; +// preview.pro.ant.design 专用环境变量,请不要在你的项目中使用它。 const { ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION } = process.env; const isAntDesignProPreview = ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION === 'site'; const plugins: IPlugin[] = [ @@ -36,7 +37,8 @@ const plugins: IPlugin[] = [ importWorkboxFrom: 'local', }, } - : false, // default close dll, because issue https://github.com/ant-design/ant-design-pro/issues/4665 + : false, + // default close dll, because issue https://github.com/ant-design/ant-design-pro/issues/4665 // dll features https://webpack.js.org/plugins/dll-plugin/ // dll: { // include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],