fix: build antd-with-locales.js error

This commit is contained in:
tjz 2018-05-25 22:00:30 +08:00
parent 800fcfff15
commit 90583a3c42

View File

@ -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 = {}