Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0

This commit is contained in:
afc163 2016-05-03 11:34:35 +08:00
commit 0f6990ae41

View File

@ -18,9 +18,11 @@ const antd = {
Card, LocaleProvider, Transfer, Cascader,
};
if (process.env.NODE_ENV !== 'production') {
if (typeof console !== 'undefined' && console.warn) {
console.warn(`you are using prebuild antd,
please use https://github.com/ant-design/babel-plugin-antd to reduce app bundle size.`);
}
}
export default antd;