diff --git a/config/config.js b/config/config.js index a7daaeed94681beadd81a0bb1ae5f2865f1aa0de..337a53b04ed8187d4679bace9b5601f9ed02f01b 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',