Skip to content

Commit 74bf272

Browse files
committed
fix: build antd-with-locales.js error
1 parent b9073fe commit 74bf272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index-with-locales.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const antd = require('./components')
2-
const req = require.context('./components', true, /^\.\/locale-provider\/.+_.+\.js$/)
2+
const req = require.context('./components', true, /^\.\/locale-provider\/(?!__tests__).+_.+\.js$/)
33

44
antd.locales = {}
55

0 commit comments

Comments
 (0)