diff --git a/config/config.ts b/config/config.ts index 5829f6c5020cb9bfe13e4f2fa421e9d27f7fc7af..e76e1a2e9c16fbc142a7e30727d27ad39ff0d86f 100644 --- a/config/config.ts +++ b/config/config.ts @@ -100,6 +100,10 @@ export default { theme: { 'primary-color': primaryColor, }, + define: { + ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: + ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION || '', // preview.pro.ant.design only do not use in your production ; preview.pro.ant.design 专用环境变量,请不要在你的项目中使用它。 + }, ignoreMomentLocale: true, lessLoaderOptions: { javascriptEnabled: true,