fix: build antd-with-locales.js error
parent
b9073fefb3
commit
74bf272200
|
@ -1,5 +1,5 @@
|
|||
const antd = require('./components')
|
||||
const req = require.context('./components', true, /^\.\/locale-provider\/.+_.+\.js$/)
|
||||
const req = require.context('./components', true, /^\.\/locale-provider\/(?!__tests__).+_.+\.js$/)
|
||||
|
||||
antd.locales = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue