Browse Source

feat: add umi-plugin-antd-icon-config

chenshuai2144 6 years ago
parent
commit
8b359bfa1a
2 changed files with 2 additions and 0 deletions
  1. 1 0
      config/config.ts
  2. 1 0
      package.json

+ 1 - 0
config/config.ts

@@ -11,6 +11,7 @@ const { ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION } = process.env;
 const isAntDesignProPreview = ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION === 'site';
 
 const plugins: IPlugin[] = [
+  ['umi-plugin-antd-icon-config', {}],
   [
     'umi-plugin-react',
     {

+ 1 - 0
package.json

@@ -112,6 +112,7 @@
     "pro-download": "1.0.1",
     "serverless-http": "^2.0.2",
     "stylelint": "^13.0.0",
+    "umi-plugin-antd-icon-config": "^1.0.2",
     "umi-plugin-ga": "^1.1.3",
     "umi-plugin-pro": "^1.0.2",
     "umi-types": "^0.5.0"