From 93380d6b4e725f96f1d419f65b8d102db04d6206 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 4 Mar 2021 21:39:11 +0800 Subject: [PATCH] fix: dist locale file lose #3684 --- antdv-demo | 1 + index-with-locales.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 160000 antdv-demo diff --git a/antdv-demo b/antdv-demo new file mode 160000 index 000000000..a6c886ee4 --- /dev/null +++ b/antdv-demo @@ -0,0 +1 @@ +Subproject commit a6c886ee49a05e473452d328d3497e38e74fd100 diff --git a/index-with-locales.js b/index-with-locales.js index a8aaf9c49..8f2d3a1d6 100644 --- a/index-with-locales.js +++ b/index-with-locales.js @@ -1,5 +1,5 @@ const antd = require('./components'); -const req = require.context('./components', true, /^\.\/locale-provider\/(?!__tests__).+_.+\.js$/); +const req = require.context('./components', true, /^\.\/locale-provider\/(?!__tests__).+_.+\.ts$/); antd.locales = {};