Explorar o código

bigfix: fix theme build warning

陈帅 %!s(int64=6) %!d(string=hai) anos
pai
achega
408a3feef2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      config/config.ts

+ 1 - 1
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',
     {