We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d02391 commit 62ca3a9Copy full SHA for 62ca3a9
index-with-locales.js
@@ -4,7 +4,7 @@ const req = require.context('./components', true, /^\.\/locale-provider\/(?!__te
4
antd.locales = {};
5
6
req.keys().forEach(mod => {
7
- const match = mod.match(/\/([^/]+).js$/);
+ const match = mod.match(/\/([^/]+).ts$/);
8
antd.locales[match[1]] = req(mod).default;
9
});
10
0 commit comments