Skip to content

Commit

Permalink
fix: dist locale file lose #3684
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Mar 4, 2021
1 parent 1780dba commit 93380d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions antdv-demo
Submodule antdv-demo added at a6c886
2 changes: 1 addition & 1 deletion index-with-locales.js
Original file line number Diff line number Diff line change
@@ -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 = {};

Expand Down

0 comments on commit 93380d6

Please sign in to comment.