Explorar el Código

bigfix: fix theme build warning

陈帅 hace 6 años
padre
commit
408a3feef2
Se han modificado 1 ficheros con 1 adiciones y 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',
     {