Remove babel-plugin-add-module-exports (#8888)

This commit is contained in:
Wei Zhu
2018-01-13 05:11:53 -06:00
committed by GitHub
parent 3418cb8a60
commit 46b45acb12
11 changed files with 28 additions and 22 deletions

View File

@@ -5,7 +5,7 @@ antd.locales = {};
req.keys().forEach((mod) => {
const match = mod.match(/\/([^/]+).tsx$/);
antd.locales[match[1]] = req(mod);
antd.locales[match[1]] = req(mod).default;
});
module.exports = antd;