瀏覽代碼

default close dll

close #4665
陈帅 6 年之前
父節點
當前提交
3fc841b1de
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      config/config.ts

+ 6 - 4
config/config.ts

@@ -42,10 +42,12 @@ const plugins: IPlugin[] = [
             },
           }
         : false,
-      dll: {
-        include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],
-        exclude: ['@babel/runtime', 'netlify-lambda'],
-      },
+      // default close dll, because issue https://github.com/ant-design/ant-design-pro/issues/4665
+      // dll features https://webpack.js.org/plugins/dll-plugin/
+      // dll: {
+      //   include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],
+      //   exclude: ['@babel/runtime', 'netlify-lambda'],
+      // },
     },
   ],
   [