From c4d503f6e5576bdab471b39c7d805c2255c445a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Wed, 14 Nov 2018 14:41:55 +0800 Subject: [PATCH] Update config.js --- config/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/config.js b/config/config.js index a7daaeed..337a53b0 100644 --- a/config/config.js +++ b/config/config.js @@ -36,7 +36,8 @@ const plugins = [ ], ]; -// judge add ga +// 针对 preview.pro.ant.design 的 GA 统计代码 +// 业务上不需要这个 if (process.env.APP_TYPE === 'site') { plugins.push([ 'umi-plugin-ga', -- GitLab