diff --git a/config/config.ts b/config/config.ts index ec58445b..12835484 100644 --- a/config/config.ts +++ b/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', { diff --git a/package.json b/package.json index 100137a6..07cd4c8e 100644 --- a/package.json +++ b/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"