Browse Source

fix: dist locale file lose #3684

pull/3753/head
tangjinzhou 4 years ago
parent
commit
93380d6b4e
  1. 1
      antdv-demo
  2. 2
      index-with-locales.js

1
antdv-demo

@ -0,0 +1 @@
Subproject commit a6c886ee49a05e473452d328d3497e38e74fd100

2
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 = {};

Loading…
Cancel
Save