Browse Source

fix: build antd-with-locales.js error

pull/29/head
tjz 7 years ago
parent
commit
90583a3c42
  1. 2
      index-with-locales.js

2
index-with-locales.js

@ -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…
Cancel
Save