From b4392ccd684349ed8aa050ced8ee2119816f3200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Sat, 22 Jun 2019 00:22:20 +0800 Subject: [PATCH] add define add ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION var --- config/config.ts | 4 ++++ 1 file changed, 4 insertions(+) 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, -- GitLab