|
|
@ -18,9 +18,11 @@ const antd = { |
|
|
|
Card, LocaleProvider, Transfer, Cascader, |
|
|
|
}; |
|
|
|
|
|
|
|
if (typeof console !== 'undefined' && console.warn) { |
|
|
|
console.warn(`you are using prebuild antd,
|
|
|
|
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; |
|
|
|