mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0
This commit is contained in:
commit
0f6990ae41
6
index.js
6
index.js
@ -18,9 +18,11 @@ const antd = {
|
|||||||
Card, LocaleProvider, Transfer, Cascader,
|
Card, LocaleProvider, Transfer, Cascader,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof console !== 'undefined' && console.warn) {
|
if (process.env.NODE_ENV !== 'production') {
|
||||||
console.warn(`you are using prebuild antd,
|
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.`);
|
please use https://github.com/ant-design/babel-plugin-antd to reduce app bundle size.`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default antd;
|
export default antd;
|
||||||
|
Loading…
Reference in New Issue
Block a user