diff --git a/config/config.ts b/config/config.ts index 5829f6c5..e76e1a2e 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,