Skip to content

Commit 62ca3a9

Browse files
committed
fix: dist locale file lose #3684
1 parent 0d02391 commit 62ca3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index-with-locales.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const req = require.context('./components', true, /^\.\/locale-provider\/(?!__te
44
antd.locales = {};
55

66
req.keys().forEach(mod => {
7-
const match = mod.match(/\/([^/]+).js$/);
7+
const match = mod.match(/\/([^/]+).ts$/);
88
antd.locales[match[1]] = req(mod).default;
99
});
1010

0 commit comments

Comments
 (0)