浏览代码

bigfix: fix theme build warning

陈帅 6 年之前
父节点
当前提交
408a3feef2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config/config.ts

+ 1 - 1
config/config.ts

@@ -70,7 +70,7 @@ if (isAntDesignProPreview) {
   plugins.push(['umi-plugin-antd-theme', themePluginConfig]);
   plugins.push(['umi-plugin-antd-theme', themePluginConfig]);
 }
 }
 
 
-if (!TEST) {
+if (!TEST && !isAntDesignProPreview) {
   plugins.push([
   plugins.push([
     'umi-plugin-antd-theme',
     'umi-plugin-antd-theme',
     {
     {