Przeglądaj źródła

bigfix: fix theme build warning

陈帅 6 lat temu
rodzic
commit
408a3feef2
1 zmienionych plików z 1 dodań i 1 usunięć
  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',
     {