Browse Source

bigfix: fix theme build warning

陈帅 6 năm trước cách đây
mục cha
commit
408a3feef2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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',
     {