add warning

pull/1534/head
yiminghe 9 years ago
parent 196090cf4b
commit 5365d4bbd3

@ -17,4 +17,7 @@ const antd = {
Card, LocaleProvider, Transfer, Cascader,
};
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;

@ -25,7 +25,7 @@
"bugs": {
"url": "https://github.com/ant-design/ant-design/issues"
},
"main": "lib/index",
"main": "dist/antd",
"files": [
"dist",
"lib",

Loading…
Cancel
Save