From 408a3feef2f7a35ad0d229d94ba66025b85b3fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Mon, 25 Nov 2019 21:37:41 +0800 Subject: [PATCH] bigfix: fix theme build warning --- config/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.ts b/config/config.ts index 9e73853d..9146e609 100644 --- a/config/config.ts +++ b/config/config.ts @@ -70,7 +70,7 @@ if (isAntDesignProPreview) { plugins.push(['umi-plugin-antd-theme', themePluginConfig]); } -if (!TEST) { +if (!TEST && !isAntDesignProPreview) { plugins.push([ 'umi-plugin-antd-theme', {